I think that's not yet supported, but you can still do

    create  (:User
       {
             firstName:"Barrack",
             lastName:"Obama"
        }
    )

--

On Tue, Nov 18, 2014 at 2:06 PM, Anish Bapna <[email protected]>
wrote:

> Hi All,
>
> I am trying to create a map against a property of a node. But I am not
> able to create it. I checked the online Neo4j documentation and the ref
> card. It says that 2.1.5 supports maps. But I am not able to use this:
>
> CQL:
>
> create (:User
>      {name:
>                {
>                  firstName:"Barrack",
>                  lastName:"Obama"
>                 }
>      }
> )
> Error :
>
> *Property values can only be of primitive types or arrays thereof*
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" 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.
>



-- 
Javier de la Rosa
http://versae.es

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" 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