put method

void put(
  1. NSEntity entity
)

Implementation

void put(NSEntity entity) {
  _checkOpen();
  final result = nosqueel.ns_database_put(_db, entity.handle);
  if (result == nullptr) {
    throw StateError('ns_database_put failed');
  }
}