Closed joejordanbrown closed 7 years ago
""
is considered a valid primary key value in RethinkDB (as is any string
, bool
, or number
). I don't really think it makes sense to make any special case exceptions on the client to the constraints RethinkDB already imposes.
The server will generate a UUID for the document when no id
field is provided by the client.
Client version:
Latest
When an object is inserted using insert, store and upsert with an empty id shouldn't it generate a UUID?
Example:
should return
not
That's how you'd expect it to work right?