@uql/mongo
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -12,3 +12,3 @@ import { Filter, ObjectId, Sort } from 'mongodb'; | ||
} | ||
declare type MongoAggregationPipelineEntry<E> = { | ||
type MongoAggregationPipelineEntry<E> = { | ||
readonly $lookup?: MongoAggregationLookup<E>; | ||
@@ -19,3 +19,3 @@ $match?: Filter<E> | Record<string, any>; | ||
}; | ||
declare type MongoAggregationLookup<E> = { | ||
type MongoAggregationLookup<E> = { | ||
readonly from?: string; | ||
@@ -27,3 +27,3 @@ readonly foreignField?: string; | ||
}; | ||
declare type MongoAggregationUnwind = { | ||
type MongoAggregationUnwind = { | ||
readonly path?: string; | ||
@@ -30,0 +30,0 @@ readonly preserveNullAndEmptyArrays?: boolean; |
{ | ||
"name": "@uql/mongo", | ||
"homepage": "https://uql.io", | ||
"homepage": "https://nukak.org", | ||
"description": "flexible and efficient ORM, with declarative JSON syntax and smart type-safety", | ||
"license": "MIT", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"main": "./index.js", | ||
@@ -24,3 +24,3 @@ "types": "./index.d.ts", | ||
"@types/node": "^18.0.6", | ||
"@uql/core": "^1.0.11", | ||
"@uql/core": "^1.0.12", | ||
"copyfiles": "^2.4.1", | ||
@@ -64,2 +64,2 @@ "rimraf": "^3.0.2", | ||
"gitHead": "3ced0c218364ddcd9e234096155ff205a7583b13" | ||
} | ||
} |
@@ -1,5 +0,3 @@ | ||
# [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) | ||
# [uql](https://nukak.org) · [![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) | ||
Learn more of uql in the website https://uql.io :high_brightness: | ||
## Quick Start | ||
@@ -13,9 +11,9 @@ | ||
- `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. | ||
- `JSON` (serializable) syntax for all the [queries](https://nukak.org/docs/querying-logical-operators). | ||
- uses the power of `TypeScript` to get smart type-safety [everywhere](https://nukak.org/docs/api-repository). | ||
- the generated queries are [performant](https://nukak.org/docs/querying-retrieve-relations), safe, and human-readable. | ||
- `$project`, `$filter`, `$sort`, `$limit` works at [multiple levels](https://nukak.org/docs/querying-retrieve-relations) (including deep relations and their fields). | ||
- [declarative](https://nukak.org/docs/transactions-declarative) and [imperative](https://nukak.org/docs/transactions-imperative) `transactions`. | ||
- [soft-delete](https://nukak.org/docs/entities-soft-delete), [virtual fields](https://nukak.org/docs/entities-virtual-fields), [repositories](https://nukak.org/docs/api-repository), `connection pooling`. | ||
- transparent support for [inheritance](https://nukak.org/docs/entities-advanced) between entities. | ||
- supports `Postgres`, `MySQL`, `MariaDB`, `SQLite`, `MongoDB`. | ||
@@ -180,2 +178,2 @@ | ||
See more in https://uql.io :high_brightness: | ||
See more in https://nukak.org :high_brightness: |
Sorry, the diff of this file is not supported yet
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
98290
0
178