You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is that the actual query you wanted to run or it's just an example? If it's the actual query you can work around this by using Uuid from the uuid crate instead of r.uuid(), 16 instead of r.expr(16) and constructing the time using DateTime instead of r.now().
I think the json serialization problem can be solved by implementing our own implementation of the json! macro. You can see an example implementation in unreql crate
We could write something like this:
use unreql::{r, rjson};
r.table("users").get(1).update(rjson!({"name":"John","upd_count": r.row().g("upd_count").add(1),}))
can not using
reql::Command
inserde:json!
becauseserde::Serialize
behaviorthis problem also hard to solve because we can not serialize json multiple time in rethinkdb
i also try another approch like using
r.object([["key", "value"], ["key2", r.uuid()]])
andr.hashMap
is not implemented yet.any suggestion on this please.
The text was updated successfully, but these errors were encountered: