# @takatanjs/orm

> Takatan ORM layer

Latest version **0.3.11** (published 2020-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @takatanjs/orm
pnpm add @takatanjs/orm
yarn add @takatanjs/orm
bun add @takatanjs/orm
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.11 |
| Published | 2020-08-27 |
| First published | 2020-07-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 111.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | abrakadobr |
| Maintainers | abrakadobr |
| Keywords | takatan |

## Links

- npm: https://www.npmjs.com/package/@takatanjs/orm
- Repository: https://gitlab.com/takatan_modules/orm
- Homepage: https://js.takatan.tk
- Issues: https://gitlab.com/takatan_modules/orm/issues
- npm.io page: https://npm.io/package/@takatanjs/orm

## Dependencies (1)

- [@takatanjs/core](https://npm.io/package/@takatanjs/core.md) ^0.3.11

## Recent versions

- 0.3.11 (latest) — 2020-08-27
- 0.3.10 — 2020-08-24
- 0.2.9 — 2020-08-11
- 0.2.8 — 2020-08-11
- 0.2.7 — 2020-08-09
- 0.2.6 — 2020-08-09
- 0.2.5 — 2020-08-06
- 0.2.4 — 2020-08-04
- 0.2.3 — 2020-08-04
- 0.1.2 — 2020-07-24
- 0.1.1 — 2020-07-15
- 0.1.0 — 2020-07-15

## README

#ORM modules for TakatanJS.

Database layer modules to TakatanJS 3.0
Provides abstract layer for other modules to store and request data from different databases

under development! currently it has only has basic support of mongodb

## Bundle

Bundles describes database tables. It manages table fields.

## Field

Fields describes different types of data and manages field data

By default @takatanjs/orm has next fields:

 - any - holds any serialized with JSON data
 - boolean - holds yes/no data
 - datetime - holds date, time and timezone information
 - number - holds numbers
 - string - holds string data

Fields are designed to be extended with other modules, for example, check PasswordField at @takatanjs/auth module

## Collection

Collections provides access to search/update/remove data from database.
Each bundle automatically has according collection

## Node

Node represents single database entity. To append unique required functionality extends new class from Node class and set it for Collection as node class.

Check @takatanjs/auth User/Role modules for examples

---
_Source: https://npm.io/package/@takatanjs/orm · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
