import { default } from "https://dotland.deno.dev/x/justaos_orm@v10.1.0/src/ORM.ts";
JUSTAOS's ORM (Object Document Mapper) is built for Deno and provides transparent persistence for JavaScript objects to Postgres database.
- Supports all primitive data types (string, integer, float, boolean, date, object, array, etc).
- Supports custom data types.
- Supports table with multi-level inheritance.
- Also supports interception on operations (create, read, update and delete).
Constructors
new
default(config: TDatabaseConfiguration, logger?: Logger)Methods
addInterceptor(operationInterceptor: RecordInterceptor): void
Adds a new operation interceptor to the service.
deleteInterceptor(operationInterceptorName: string): void
Deletes an operation interceptor from the service.