Page 1 of 1

Import database services

Posted: Mon Jul 06, 2015 4:24 pm
by TonyS

In the docs it refers to several database services that can be imported.

I only have login, logout and signup. Do I have to create the others like update, create, read, delete etc.?


Import database services

Posted: Mon Jul 06, 2015 6:18 pm
by Illya Stepanov

Hi Tony -

This are predefined services available in every database, the CRUD (create, read, update and delete) operations and List / Query, can be selected when your database has at least one collection created inside.


Import database services

Posted: Mon Jul 06, 2015 10:02 pm
by TonyS

Well I have one collection, but I only have login, logout and signup as options to import. Where have you hidden the others?

:)


Import database services

Posted: Mon Jul 06, 2015 10:31 pm
by TonyS

here's a pic... Image


Import database services

Posted: Mon Jul 06, 2015 10:51 pm
by Illya Stepanov

Please show your database tab with your collections inside it.


Import database services

Posted: Tue Jul 07, 2015 12:18 am
by RobertJay

Tony, I believe that with the user collection - unlike your own custom collections - the only predefined service that's available is to add a user. You have to build the others (e.g. delete, query or list) yourself. I have submitted an idea that is under consideration by Appery to add the other services to the user collection. We'll see what happens.


Import database services

Posted: Tue Jul 07, 2015 7:40 am
by TonyS

Thanks Robert.

How strange that the user collection wouldn't have all the services. Makes sense that a user record might want to be updated?

Anyway, we know what the problem is now.