New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@uql/mongo

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uql/mongo - npm Package Compare versions

Comparing version 0.4.0 to 0.4.2

6

package.json

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.4.0",
"version": "0.4.2",
"main": "index.js",

@@ -24,3 +24,3 @@ "types": "index.d.ts",

"@types/node": "^15.3.0",
"@uql/core": "^0.4.0",
"@uql/core": "^0.4.2",
"copyfiles": "^2.4.1",

@@ -55,3 +55,3 @@ "rimraf": "^3.0.2",

},
"gitHead": "f1cac6421f3da780f794cace4072d7bef08286b7"
"gitHead": "7b0d97b0b670ec73964e3b9ae08252f62a565958"
}

@@ -10,15 +10,2 @@ [![build status](https://travis-ci.org/impensables/uql.svg?branch=master)](https://travis-ci.org/impensables/uql?branch=master)

Given uql is just a library/parser, its queries can be written and sent from the web/mobile to the backend, or use directly in the backend, or even use in the mobile with an embedded database.
## Table of Contents
1. [Features](#features)
2. [Installation](#installation)
3. [Entities](#entities)
4. [Configuration](#configuration)
5. [Declarative Transactions](#declarative-transactions)
6. [Programmatic Transactions](#programmatic-transactions)
7. [Generate REST APIs from Express](#express)
8. [Consume REST APIs from Frontend](#client)
9. [FAQs](#faq)
## <a name="features"></a>:star2: Features

@@ -37,2 +24,13 @@

## Table of Contents
1. [Installation](#installation)
2. [Configuration](#configuration)
3. [Entities](#entities)
4. [Declarative Transactions](#declarative-transactions)
5. [Programmatic Transactions](#programmatic-transactions)
6. [Generate REST APIs from Express](#express)
7. [Consume REST APIs from Frontend](#client)
8. [FAQs](#faq)
## <a name="installation"></a>:battery: Installation

@@ -64,2 +62,22 @@

## <a name="configuration"></a>:gear: Configuration
uql's initialization should be done once (e.g. in a file imported from a bootstrap file of your app).
```typescript
import { setOptions } from '@uql/core';
import { PgQuerierPool } from '@uql/postgres';
setOptions({
querierPool: new PgQuerierPool({
host: 'localhost',
user: 'theUser',
password: 'thePassword',
database: 'theDatabase',
}),
logger: console.log,
debug: true,
});
```
## <a name="entities"></a>:egg: Entities

@@ -173,22 +191,2 @@

## <a name="configuration"></a>:gear: Configuration
uql's initialization should be done once (e.g. in a file imported from a bootstrap file of your app).
```typescript
import { setOptions } from '@uql/core';
import { PgQuerierPool } from '@uql/postgres';
setOptions({
querierPool: new PgQuerierPool({
host: 'localhost',
user: 'theUser',
password: 'thePassword',
database: 'theDatabase',
}),
logger: console.log,
debug: true,
});
```
## <a name="declarative-transactions"></a>:speaking_head: Declarative Transactions

@@ -195,0 +193,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc