and maybe get user with a particular field in the ...
# support-questions-legacy
f
and maybe get user with a particular field in the database?
r
Hey! Those are the only way to get info for a user (assuming you are talking about email password or passwordless user).
You can paginate across all users as well.
f
is it possible to set parameters for the pagination?
r
What kind of param? The only one we allow is the order of pagination and the number of users to return
f
like
for example
lets say you make a tutoring app
and you want to get only teachers and not everyone else
another question
can a second table be created in the database and how?
r
Well, you should make the table in your own db and use the user id we have in those tables.
f
hmm
i’ll see to it
is there a way to get just teachers rather than everyone else?
r
Well, are you using our user roles recipe?
f
i’ll read up on it
r
Cool. But you can assign a unique role to all teachers. And then use the user roles receipt to get all user ids with that role
f
oooh thanks
i can create different types of roles
and the roles can even be called “goalie” or “defender” right?
r
Yes
f
and they can be numerous roles too?
r
Yes. But a string data type
f
more than 20?
r
Yes. How Many ever
f
oh golly🤩
tnx rp
3 Views