io static method

ClientWorkDb io({
  1. int? maxRecordsPerCollection,
})

Creates a file-based database instance.

Uses the current working directory as the base path. Data is persisted to the file system.

maxRecordsPerCollection is an optional limit on records per collection.

Implementation

static ClientWorkDb io({int? maxRecordsPerCollection}) =>
    ClientWorkDb(IoWorkDb('./DefaultWorkDb'),
        maxRecordsPerCollection: maxRecordsPerCollection);