Search found 137 matches

Go to advanced search

by leven.steve
Tue Oct 11, 2016 8:31 am
Forum: Issues
Topic: Find DB row with specific ID
Replies: 1
Views: 415
 
Jump to post

Find DB row with specific ID

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...

by leven.steve
Sun Oct 09, 2016 6:00 pm
Forum: Issues
Topic: Query on multiple included pointer objects
Replies: 2
Views: 579
 
Jump to post

Query on multiple included pointer objects

Any idea on this please? I need to move on with development ASAP.
Thx

by leven.steve
Sun Oct 09, 2016 9:55 am
Forum: Issues
Topic: Query on multiple included pointer objects
Replies: 2
Views: 579
 
Jump to post

Query on multiple included pointer objects

I'm trying to query the DB which will return only one row based on two included collections _id values. The DB structure has two Pointer objects for Scheme and Employee Firstly I'm not clear if I need to use $inQuery or not? If I test $inQuery in the Database query screen like this for just one of t...
by leven.steve
Fri Oct 07, 2016 12:14 pm
Forum: Issues
Topic: UPDATE some columns (ie PATCH)
Replies: 38
Views: 11988
 
Jump to post

UPDATE some columns (ie PATCH)

Thanks Sergiy. I figured it would be the case to use server code and no doubt in time I will make all requests via server code.

I have already used something like this to update a password in the Users file so I know it will now work.

by leven.steve
Thu Oct 06, 2016 2:29 pm
Forum: Issues
Topic: Error response for service
Replies: 23
Views: 4245
 
Jump to post

Error response for service

Terry try this way if it suits. My server code script looks like this: code var username = request.get("username"); var password = request.get("password"); var userLoginInfo = {}; var result = {}; try { token = DatabaseUser.login(RTdatabaseId, username, pa...
by leven.steve
Thu Oct 06, 2016 1:46 pm
Forum: Issues
Topic: Error response for service
Replies: 23
Views: 4245
 
Jump to post

Error response for service

I saw something similar yesterday with the Appery user login function on a server code script as it happens and I'm working out how to make it work for me. If I find anything useful I'll post it
here.

by leven.steve
Thu Oct 06, 2016 9:10 am
Forum: Issues
Topic: Error response for service
Replies: 23
Views: 4245
 
Jump to post

Error response for service

Have you tried using PostMan to test your REST service?
https://www.getpostman.com/

by leven.steve
Wed Oct 05, 2016 9:16 pm
Forum: Issues
Topic: UPDATE some columns (ie PATCH)
Replies: 38
Views: 11988
 
Jump to post

UPDATE some columns (ie PATCH)

How about if I change the page JS code to call a server side script and pass it parameters of id, column name and new value can the server-side script update one column? Example: updateTimeSheet({"id":"xxxxxxxxxxxx","colName":"rate";"newValue":100});...
by leven.steve
Wed Oct 05, 2016 7:39 pm
Forum: Issues
Topic: UPDATE some columns (ie PATCH)
Replies: 38
Views: 11988
 
Jump to post

UPDATE some columns (ie PATCH)

News please?

by leven.steve
Thu Sep 29, 2016 8:50 am
Forum: Issues
Topic: UPDATE some columns (ie PATCH)
Replies: 38
Views: 11988
 
Jump to post

UPDATE some columns (ie PATCH)

Hi can I please have some news on this. I now need to update various collections with small, one-column changes and I do not want to have to read each row, assign every column to new object, change one value and then write the whole lot back.
For a mobile app this will be too slow.

Go to advanced search