import * as cotton from "https://deno.land/x/cotton@v0.7.5/mod.ts";
Classes
Manage your models directly from the model class. | |
Represents a table column for Schema | |
Manager allows you to perform queries to your model. | |
Run migration classes | |
c Q | Query expression builder |
Allows to build complex SQL queries and execute those queries. | |
Database schema migration helper |
Enums
Transform database value to JavaScript types | |
Foreign key actions for ON DELETE and ON UPDATE |
Functions
Define a "belongs to" relational property. | |
Model field | |
Connect to database and automatically chose the driver | |
Define a "has many" relational property. | |
Define a class as a database model. | |
Model primary key field |
Interfaces
Query options to find a single record. |
Type Aliases
Query options to find multiple records. |