Re: [orientdb] [HELP] Save fields in different order, (Example)

16 views
Skip to first unread message

Luigi Dell'Aquila

unread,
Nov 23, 2016, 7:28:25 AM11/23/16
to orient-...@googlegroups.com
Hi,

No, I'm afraid it's not possible in general, the ODocument keeps fields in a map, that by default does not preserve the order

Thanks

Luigi

2016-11-23 11:42 GMT+01:00 Academia Learning Centro de inglés y de formación <learning...@gmail.com>:
When I retrieve a json the fields are in different order than when saved

Can I get them back in the same order?

--

---
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Academia Learning Centro de inglés y de formación

unread,
Nov 24, 2016, 5:41:38 AM11/24/16
to OrientDB
 I have the same problem, any solutions?


El miércoles, 23 de noviembre de 2016, 13:28:25 (UTC+1), Luigi Dell'Aquila escribió:
Hi,

No, I'm afraid it's not possible in general, the ODocument keeps fields in a map, that by default does not preserve the order

Thanks

Luigi
2016-11-23 11:42 GMT+01:00 Academia Learning Centro de inglés y de formación <learning...@gmail.com>:
When I retrieve a json the fields are in different order than when saved

Can I get them back in the same order?

--

---
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-databa...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages