Can you let me know how to fetch data from table using where clause. When I am trying to use objectId in where clause getting error
obectId = A02067F7-C0C5-4235-88C4-121036DCBCC1’ is invalid
Can you let me know how to fetch data from table using where clause. When I am trying to use objectId in where clause getting error
obectId = A02067F7-C0C5-4235-88C4-121036DCBCC1’ is invalid
Hello,
Please make sure to enclose objectId value into single quotes:
objectId = 'objectId value here'
You could also use the findById
method to get a single object from the database.
Regards,
Mark