Trying inserting data into foregin table ends with ignore for _id parameter.
Example:
INSERT INTO warehouse VALUES (uuid_generate_v4()::text, 2, 'Laptop', '2015-11-11T08:13:10Z');
Creates:
"_id" : ObjectId("53720b1904864dc1f5a571a0"),
"warehouse_id" : 2,
"warehouse_name" : "Laptop",
"warehouse_created" : ISODate("2015-11-11T08:13:10Z")
How can I insert literal _id as string into entity?
Trying inserting data into foregin table ends with ignore for _id parameter.
Example:
INSERT INTO warehouse VALUES (uuid_generate_v4()::text, 2, 'Laptop', '2015-11-11T08:13:10Z');
Creates:
"_id" : ObjectId("53720b1904864dc1f5a571a0"),
"warehouse_id" : 2,
"warehouse_name" : "Laptop",
"warehouse_created" : ISODate("2015-11-11T08:13:10Z")
How can I insert literal _id as string into entity?