-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
can not using reql::Command in serde:json! because serde::Serialize behavior
let command = r
.table("users")
.insert(json!({
"id": r.uuid(), // error
"age": r.expr(16), // error
"created": r.now() // error
}));this problem also hard to solve because we can not serialize json multiple time in rethinkdb
// original body
{ "tags": ["love", "boy", "hate"] }
// after serialize query
{ "tags": [2, ["love", "boy", "hate"]]}i also try another approch like using r.object([["key", "value"], ["key2", r.uuid()]]) and r.hashMap is not implemented yet.
any suggestion on this please.
Metadata
Metadata
Assignees
Labels
No labels