@uql/core 0.4.85 → 0.4.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,14 +10,14 @@ The `uql` queries can be safely written in the frontend (browser/mobile) and sen
|
|
|
10
10
|
|
|
11
11
|
## <a name="features"></a> Features
|
|
12
12
|
|
|
13
|
-
- `JSON` (serializable) syntax for all the queries.
|
|
14
|
-
- uses the power of `TypeScript` to get
|
|
15
|
-
- the generated queries are performant, safe, and human-readable.
|
|
16
|
-
- `$project`, `$filter`, `$sort`, `$limit` works at multiple levels (including deep relations and their fields).
|
|
17
|
-
- declarative and imperative `transactions`.
|
|
18
|
-
-
|
|
19
|
-
- transparent support for
|
|
20
|
-
- supports `Postgres`, `MySQL`, `MariaDB`, `SQLite`, `MongoDB
|
|
13
|
+
- `JSON` (serializable) syntax for all the [queries](https://uql.io/docs/querying-logical-operators).
|
|
14
|
+
- uses the power of `TypeScript` to get smart type-safety [everywhere](https://uql.io/docs/api-repository).
|
|
15
|
+
- the generated queries are [performant](https://uql.io/docs/querying-retrieve-relations), safe, and human-readable.
|
|
16
|
+
- `$project`, `$filter`, `$sort`, `$limit` works at [multiple levels](https://uql.io/docs/querying-retrieve-relations) (including deep relations and their fields).
|
|
17
|
+
- [declarative](https://uql.io/docs/transactions-declarative) and [imperative](https://uql.io/docs/transactions-imperative) `transactions`.
|
|
18
|
+
- [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`.
|
|
19
|
+
- transparent support for [inheritance](https://uql.io/docs/entities-advanced) between entities.
|
|
20
|
+
- supports `Postgres`, `MySQL`, `MariaDB`, `SQLite`, `MongoDB`.
|
|
21
21
|
|
|
22
22
|
## <a name="installation"></a> Installation
|
|
23
23
|
|
|
@@ -96,7 +96,9 @@ import { Field, ManyToOne, Id, OneToMany, Entity, OneToOne, ManyToMany } from '@
|
|
|
96
96
|
@Entity()
|
|
97
97
|
export class Profile {
|
|
98
98
|
/**
|
|
99
|
-
* primary
|
|
99
|
+
* primary-key.
|
|
100
|
+
* the `onInsert` callback can be used to specify a custom mechanism for auto-generating
|
|
101
|
+
* the default value of a field when inserting a new record.
|
|
100
102
|
*/
|
|
101
103
|
@Id({ onInsert: uuidv4 })
|
|
102
104
|
id?: string;
|
package/package.json
CHANGED