Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
This module provides an efficient entity validation and facilitates communication with a database. It abstracts complexity, ensuring data integrity while storing and retrieving from a database.
Ooneex Model for entity validation and communicate with a database
This module provides an efficient entity validation and facilitates communication with a database. It abstracts complexity, ensuring data integrity while storing and retrieving from a database. The features include strong type checking, form validation, and a simplified approach to querying the database. Ideal for projects looking for robust database handling with an emphasis on code readability and ease of use.
How to Use
import { Model, F, model } from "@ooneex/model" @model() class UserModel extends Model { id = F.uuid(); email = F.email(); }
License
Add Package
deno add jsr:@ooneex/model
Import symbol
import * as model from "@ooneex/model";
Import directly with a jsr specifier
import * as model from "jsr:@ooneex/model";
Add Package
pnpm i jsr:@ooneex/model
pnpm dlx jsr add @ooneex/model
Import symbol
import * as model from "@ooneex/model";
Add Package
yarn add jsr:@ooneex/model
yarn dlx jsr add @ooneex/model
Import symbol
import * as model from "@ooneex/model";
Add Package
npx jsr add @ooneex/model
Import symbol
import * as model from "@ooneex/model";
Add Package
bunx jsr add @ooneex/model
Import symbol
import * as model from "@ooneex/model";