I have UserId as a column in Users table. I am trying to get user object based on UserId in angularjs.
var dataQuery = new Backendless.DataQuery();
dataQuery.condition = "UserId = "+userId;
Backendless.Persistence.of( ‘Users’ ).find(dataQuery);
It didn’t work,then tried
I got this output
not the user object. Please could anybody help me.