@uql/mongo
Advanced tools
Comparing version 0.4.85 to 0.4.86
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.4.85", | ||
"version": "0.4.86", | ||
"main": "index.js", | ||
@@ -25,3 +25,3 @@ "types": "index.d.ts", | ||
"@types/node": "^17.0.23", | ||
"@uql/core": "^0.4.85", | ||
"@uql/core": "^0.4.86", | ||
"copyfiles": "^2.4.1", | ||
@@ -28,0 +28,0 @@ "rimraf": "^3.0.2", |
@@ -13,10 +13,10 @@ # [uql](https://uql.io) · [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/rogerpadilla/uql/blob/main/LICENSE) [![tests](https://github.com/rogerpadilla/uql/actions/workflows/tests.yml/badge.svg)](https://github.com/rogerpadilla/uql) [![coverage status](https://coveralls.io/repos/rogerpadilla/uql/badge.svg?branch=main)](https://coveralls.io/r/rogerpadilla/uql?branch=main) [![npm version](https://badge.fury.io/js/%40uql%2Fcore.svg)](https://badge.fury.io/js/%40uql%2Fcore) | ||
- `JSON` (serializable) syntax for all the queries. | ||
- uses the power of `TypeScript` to get (smart) type-safety everywhere. | ||
- the generated queries are performant, safe, and human-readable. | ||
- `$project`, `$filter`, `$sort`, `$limit` works at multiple levels (including deep relations and their fields). | ||
- declarative and imperative `transactions`. | ||
- `soft-delete`, `virtual fields`, `repositories`, `connection pooling`. | ||
- transparent support for `inheritance` patterns between entities. | ||
- supports `Postgres`, `MySQL`, `MariaDB`, `SQLite`, `MongoDB` (beta). | ||
- `JSON` (serializable) syntax for all the [queries](https://uql.io/docs/querying-logical-operators). | ||
- uses the power of `TypeScript` to get smart type-safety [everywhere](https://uql.io/docs/api-repository). | ||
- the generated queries are [performant](https://uql.io/docs/querying-retrieve-relations), safe, and human-readable. | ||
- `$project`, `$filter`, `$sort`, `$limit` works at [multiple levels](https://uql.io/docs/querying-retrieve-relations) (including deep relations and their fields). | ||
- [declarative](https://uql.io/docs/transactions-declarative) and [imperative](https://uql.io/docs/transactions-imperative) `transactions`. | ||
- [soft-delete](https://uql.io/docs/entities-soft-delete), [virtual fields](https://uql.io/docs/entities-virtual-fields), [repositories](https://uql.io/docs/api-repository), `connection pooling`. | ||
- transparent support for [inheritance](https://uql.io/docs/entities-advanced) between entities. | ||
- supports `Postgres`, `MySQL`, `MariaDB`, `SQLite`, `MongoDB`. | ||
@@ -100,3 +100,5 @@ ## <a name="installation"></a> Installation | ||
/** | ||
* primary key | ||
* primary-key. | ||
* the `onInsert` callback can be used to specify a custom mechanism for auto-generating | ||
* the default value of a field when inserting a new record. | ||
*/ | ||
@@ -103,0 +105,0 @@ @Id({ onInsert: uuidv4 }) |
91408
175