Core: support multiple active transactions

This commit is contained in:
theo-vt
2026-03-14 12:15:46 -04:00
parent d90c88f0fc
commit f4665aa7b5
245 changed files with 3541 additions and 2040 deletions
+9
View File
@@ -1175,6 +1175,15 @@ PyObject* DocumentPy::getDependentDocuments(PyObject* args)
}
PY_CATCH;
}
PyObject* DocumentPy::getBookedTransactionID(PyObject* args)
{
if (!PyArg_ParseTuple(args, "")) {
return nullptr;
}
int tid = getDocumentPtr()->getBookedTransactionID();
return Py::new_reference_to(Py::Long(tid));
}
Py::Boolean DocumentPy::getRestoring() const
{