Find DB row with specific ID
Posted: Tue Oct 11, 2016 8:31 am
by leven.steve
If I get a message like Error: DBSC205 Collection 'Categories' doesn't contain object with id 57f8d678e4b0df89656c8b3e.
is there any way to search the database for that id so I can determine what it actually is?
I can then find the error in the code that assigns it...
Find DB row with specific ID
Posted: Tue Oct 11, 2016 9:30 am
by Serhii Kulibaba
Hello Steve,
Sure, it is possible to do. There are two cases to search this row:
1) Retrieve specific object from the collection "Categories": https://docs.appery.io/reference#data...
Or
2) Use a query service on the collection "Categories", using parameter "_id": https://docs.appery.io/reference#data...