put method
Buffer a write in this transaction.
Implementation
void put(NSEntity entity) {
_checkActive();
final result = ns_database_txn_put(_db, _txn, entity.handle);
if (result == nullptr) {
throw StateError('ns_database_txn_put failed');
}
}