performDocumentInsert method

  1. @override
Future<void> performDocumentInsert(
  1. DocumentInsertRequest request
)
override

Implementation

@override
Future<void> performDocumentInsert(DocumentInsertRequest request) async {
  final schema = await request.collection.schema();
  request.inputSchema ??= schema;
  schema?.checkTreeIsValid(request.data);
  return super.performDocumentInsert(request);
}