Hi David,
Your first syntax is supposed to work, so I've created this issue scheduler
for 1.7.9: https://github.com/orientechnologies/orientdb/issues/2711.

Lvc@
ᐧ


On 22 August 2014 18:31, David J Lima <[email protected]> wrote:

> Not a question so much as an fyi for other beginners like me.
> I have found that when creating a record by using *JSON content*, things
> have to be specified carefully when inserting a NULL.
>
> You cannot do any of the following:
> CREATE VERTEX test CONTENT {mydate : null, mystring : null, myembedded :
> null}
> CREATE VERTEX test CONTENT {mydate : NULL, mystring : NULL, myembedded :
> NULL}
>
> You have to do the following:
> create vertex test content {mydate : [], str : '', myembedded : { "@type"
> : "d" }}
>
> However, when creating without JSON, null is ok to use:
> CREATE VERTEX test SET mydate = NULL, str = NULL , myembedded = NULL
>
> If you're using Oriento/Node.js, nothing seems to work
> db.vertex.create({ '@class': 'User', mydate: ???, ...
>
>
>  --
>
> ---
> 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