Details
-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
1
Description
Specifically in ctx.query. I'd like to do something like this:
opts = TransactionOptions(scope=<some scope>)
|
ctx.query('SELECT * from `$coll` USE KEY "$key", opts, key="foo", coll="_default")
|
so – the kwargs can override/merge with the options. And, the options can be left out, and just kwargs with appropriate names passed instead. The standard forwarding can probably do this, but these had evolved apart from that.
Lets see if we can make these options work exactly the same under the covers.
My guess is transactions.run(...) should work the same, perhaps there are other places?