Creating a DB Query that queries strings and arrays
Hi,
I have a database (example record below);
name[string] id[string] follower_name[array] follower_id[array]
Andy 1000 Bert, Sid 2000,3000
Jim 1001 Andy, Sid 1000,3000
I want to create a query that will return the record that has the following:
{"name":"Jim"} AND "id":"1001" AND "follower_name":"Andy" AND "follower_id":"1000"
I tried the above but it pulls back the Jim record whatever id, follower_id or follower_name I give, it only seems to check the "name".
Can you tell me where I'm going wrong please?
regards
Andy.