Hi
I've finally got round to building a nodeJs web API using OrientDB, but I'm
not just starting the stage of wanting to query the data but immediately
struggling as I'm finding clear documentation hard to come by. I normally
work best from examples where I can pick up on quickly.
My model is I have a Film vertex, which is joined to a User Vertex by
currently, 3 possible Edges, which are 'loved, 'watched,' 'owns'.
What I want, which was easy enough in it's previous RDMB incarnaton, is to
shape a query where I can select, say 30 films, and have a boolean where an
Edge exists for the authenticated / requesting user.
e.g.
{
film_id: four-rooms-1995,
title: Four Rooms,
genres: [indies, comedy...] (note, these are Out Edges)
user_actions:
{
loved: false,
watched: true,
owns: false
}
counters:
{
loved: 123,
watched: 422,
owns: 78
}
}
To be honest, I really don't even know where to start. I've had a play but
in Orient Studio, but without examples, just getting nowhere.
Could someone please either provide a link to extensive examples that may
help here, or provide a sample query for me to work from? I think once I
get the basic querying syntax I can make much better progress.
Also, if anyone knows of any courses / meetups in London for OrientDB,
please let me know!
Thanks
Sky
--
---
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.