Hmmm.....

I think you could point a class to a single node. 

INSERT INTO CLUSTER:chatrooms_1_1000 SET @class = 'Chatroom112', text = 'A chat 
message', datetime = '1433787106', user = '12:123' 


There is also the less elegant possibility of adding an autoincrementing number 
to each message for each chatroom. 
http://orientdb.com/docs/last/Sequences-and-auto-increment.html

Oh, and of course, you can sort on the datetime field.

I am learning, so I could be terribly wrong too.

<http://orientdb.com/docs/last/Sequences-and-auto-increment.html>Scott


-- 

--- 
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.

Reply via email to