@Artem Orobets Thanks for the reply.
For example, I am a user first time registered to chat application, so I will upload contacts (My friend list) from phonebook to the server. Then those contacts to my friend list. So to keep it simple I am maintaining phone number as user name. So it will be +xxxxxxxxxxx -> friends -> +yyyyyyyyyyy // assume +yyyyyyyyyyy is already registered. So can be added directly. +xxxxxxxxxxx -> friends -> +aaaaaaaaaaa // asume +aaaaaaaaaaa is not registered, so could not add. But now after +xxxxxxxxxxx has registered and added contacts, +aaaaaaaaaaa has registered and uploaded his contacts. As +aaaaaaaaaaa was in +xxxxxxxxxxx's contact list but was not added to orientDB edge as he was not registered that time, now how can I make him automatically become the friend of +xxxxxxxxxxx. I have done this before using triggers in mySQL and now I am completely moving my system to OrientDB. I am struck with this and finding better schema design for storing friends list, private messaging and group messaging archeives. Please help me on this. Thanks, Prathap On Wednesday, June 11, 2014 3:01:02 PM UTC+5:30, Artem Orobets wrote: > > Hi Prathap, > > Sorry, I'm not really understand what do you want to achieve. Could you > describe your data model and what manipulation do you want to do? > > Best regards, > Artem Orobets > > * Orient Technologiesthe Company behind OrientDB* > > > 2014-06-11 10:44 GMT+03:00 Prathap Reddy <[email protected] <javascript:> > >: > >> I have a whatsApp like chat application where users can upload contacts >> and they will be automatically added to contact list. So when a user upload >> his contacts it will add them all to his friends list. It works fine using >> vertex and edge concept. But For example a user who is not registered, but >> later registered as user, how can I add them automatically to previous >> user's contact list as the current user is after the previous user is >> registered. >> >> What I have in mind is maintaining unregistered contacts in separate DB >> and whenever user is registered add them to his contact list, but it will >> increase the DM operations. >> >> Please help me on this. I am struck with this. >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
