How can I pass a parameter in the IN SQL statement ?
cursor = readableDb.rawQuery("SELECT * FROM User where User.objectId NOT IN (@Par)", new String{"ID"} );
Is it the correct way to do it ?
How can I pass a parameter in the IN SQL statement ?
cursor = readableDb.rawQuery("SELECT * FROM User where User.objectId NOT IN (@Par)", new String{"ID"} );
Is it the correct way to do it ?
Variables get bound with a single literal value. If you have many values, you need a separate
?
placeholder for each.Example: