Page 2 of 2

How to check user registration database for duplicate email address?

Posted: Tue Apr 07, 2015 6:43 pm
by Egor Kotov6832188

Hell Makoto -

You can make call to DB from server-code without session token, thus you can check whenever the email is in use.

You can make it as a separate service, and call it before making actual signin.


How to check user registration database for duplicate email address?

Posted: Sun Apr 19, 2015 1:10 am
by Makoto

Hello Egor,

Thank you for your advice.


How to check user registration database for duplicate email address?

Posted: Sun Sep 04, 2016 9:50 am
by Deon

Hi
None of these links work anymore. Please send links to tutorial on how to o this.
Tried your suggestion in my query.

I get a 400 Bad Request when I add this suggested line to my mapping js.

"where": '{"username": {"$regex": "^' + username + '$", "$options":"i"}}'


How to check user registration database for duplicate email address?

Posted: Tue Sep 06, 2016 12:26 pm
by saurabh8122815

Hi Deon,

Use your email as username in Users collection.So it will auto check user is already exists in database.


How to check user registration database for duplicate email address?

Posted: Mon Dec 19, 2016 5:09 pm
by Sayed Programmer King

greetings to all of you,

I am building an android apps for tuition center management for my final year project using apperyio. i've got some problem with displaying the data from the database into labels. i have successfully mapped the first collections value/data into the label, but the second collection need to be checked for its userid which is same id as in the first collection. else it gives me wrong value.

see the picture here :-

My Database collections

First collection :

Image

Second Collection:-

Image

The way i map it :-

Image

and here is the part where i am stuck :-

Image

here is my android testing output

Image