import { type Types } from "https://deno.land/x/aloedb@0.1.0/mod.ts";
const { DatabaseConfig } = Types;
Database initialization config
Properties
Write data to the file without risk of loss. Instead of simply writing data to a file, the data will be written to a temporary file, which will then be renamed the main file. ( Default: true )
Do not write data to the database file. If "path" specified, data will be read from the file, but new data will not be written.
optional
schemaValidator: SchemaValidatorManual document validation function. If the document does not pass the validation, just throw the error. Works well with Superstruct!