Hi Scott,

answers below:

2015-06-06 11:07 GMT+02:00 scott molinari <[email protected]>:

> Hi,
>
> Someone just mentioned that datetime fields can't be worked on within a
> embedded document/ record in OrientDB. Is this true? I can't imagine it is.
>
>
a datetime field is just a normal field, so you can use it as a first level
or as an embedded property with no limitations.



> Also, I am still confused with the multi-model system. Sorry for my
> denseness. I hope someone can help me out with these questions.
>
> 1. A database can either be a document type or a graph type. Because of
> its flexibility, the graph type is the go to type. Correct?
>

Your DB is both a document and a graph db, if your documents are in a class
that extends V then they are vertices too, if they are in a class that
extends E then they are edges too.


>
> 2. If a database is a graph type, then I must work purely with edges and
> vertices. Vertices are my "documents". Are there no "links" other than
> through edges? Or is it still possible to create links?
>
>
You can use both together, a vertex can have edges that connect it to other
vertices, but it can also have links that point to other records (vertices,
edges, other documents that do not extend V or E)


> 3. Can I still have subrecords/ subdocuments within a vertex? For
> instance, a "person" vertex with addresses. In other words, would it make
> sense to still denormalize, where it makes sense? Or should all related
> data be "edged"?
>
>
of course you can ;-)

Thanks

Luigi



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

-- 

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