Nicklas
Posts: 0
Joined: Thu Jul 03, 2014 8:51 am

Read user from database

Hello!

I have created a signup_service that works perfectly, but how can i read out the users from the Predefined collections?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Read user from database

Hi Nicklas -

Please check out our Database API documentation here: https://devcenter.appery.io/documenta...

Nicklas
Posts: 0
Joined: Thu Jul 03, 2014 8:51 am

Read user from database

I have seen that but I want to Read the whole ROW when i type in username. Not the _ID

Nicklas
Posts: 0
Joined: Thu Jul 03, 2014 8:51 am

Read user from database

Is it: {database_url}/users/user_username

Nicklas
Posts: 0
Joined: Thu Jul 03, 2014 8:51 am

Read user from database

I found it ou with the help of this one: https://getsatisfaction.com/apperyio/...

I needed the session-token to!

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Read user from database

Thanks for the update!

Nicklas
Posts: 0
Joined: Thu Jul 03, 2014 8:51 am

Read user from database

When I have done this, what do I have to do to get a "value" from the database in javascript?
Eks:

codeif (//Value from a Column in the users is 0)
{
//then do something...
}/code

Nicklas
Posts: 0
Joined: Thu Jul 03, 2014 8:51 am

Read user from database

I see now that this was a bad explanation from me.
Something happen for every user with the value 0 in a column (name of column: one)

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Read user from database

Hello,
Can you provide more details, screenshots or exact steps to reproduce this problem?

Nicklas
Posts: 0
Joined: Thu Jul 03, 2014 8:51 am

Read user from database

There is no problem. I just want to find out how i can read a value from the database with javascript :) For example the value on the picture. The name of the column is admin.

Image

Return to “Issues”