Hi,
I've been trying to figure this out for a couple of days now without any success. Please someone help me.
I have created a string check field where a user inputs a string and it checks the database with 'where' statement. when i do the testing on it with;
i put {"username":"onethatexists"} in the 'where' field, it returns 'success' with the user information and when
i put {"username":"onethatdoesnotexists"} in the 'where' field, it returns 'success' with [] (null)
so my question is.. how do i make it so that if the null value '[]' is returned, it's a failure?
Please help!!
thanks