transact method
Applies transaction the underlying database value and atomically updates connection reference to point to the result of that transaction, new db value.
Implementation
Future<TxReport> transact(JsRef conn, List txData, {txMeta}) async {
var code = """
vendor.ds.transact(${conn.toJsCode()},${jsonEncode(txData)}, ${jsonEncode(txMeta)});
""";
return TxReport.fromJson(await context.evaluateAsync(code));
}