Hello,
Greetings,
I am trying nested object something like,
{ 'id' : '1234', 'loc' : { 'lat' : 1234, 'long' : 1234 } }
As,
$loc = ['long' => $obj->longitude,'lat' => $obj->latitude];
$obj->loc = $loc;
but, I have got the below exception, [Sun Jun 05 19:37:02 2016] [error] [client 162.243.144.247] exception 'MongoWriteConcernException' with message 'localhost:27017: location object expected, location array not in correct format'.
Please let me know how to do nested objects in mongodb + phalcon save/update.
Raja K