What is the query you try?

I recently have a similar problem with this:

insert into post set shares = {"fb_count":0, "tw_count":5}

and I solved adding @type:

insert into post set shares = {"@type": "d", "fb_count":0, "tw_count":5}

RMV

Enviado desde mi reloj Casio.
On Jun 26, 2015 07:09, "Joao Barcia" <joaobar...@gmail.com> wrote:

> We are building an educational platform. The content of our lessons is
> described in JSON. We can store them as String and afterwards convert them
> to JSON objects on the web app side.
>
> I was just wondering if there is a more elegant approach and a possibility
> to store them directly as JSON objects. On some older threads (2011/2012) I
> saw some recommendations on storing them as embedded objects, but this type
> does not seem to exist anymore.
>
> I have tried as Embedded, Embedded Lists which returned an error when I
> try to save our object. Embedded Sets seems to be able to store it,
> although I'm not sure why. What would be the correct way of achieving this
>
> --
>
> ---
> 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 orient-database+unsubscr...@googlegroups.com.
> 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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to