Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mql2

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mql2 - npm Package Compare versions

Comparing version 0.1.13 to 0.1.14

19

mql.js

@@ -365,3 +365,3 @@ import {

async function CONNECT(connection_info) {
function CONNECT(connection_info) {
const pool = create_pool(connection_info);

@@ -391,7 +391,12 @@ const pool_query = query_fn(pool);

const ljoin = use_ljoin ? await load_ljoin({
ready_sqls, add_column, tag, MQL_DEBUG,
connection_info, QUERY, VALUES, IN, NOT_IN, EQ, SET, COLUMN, CL, TABLE, TB, SQL, SQLS
}) : _ => _;
var ljoin = null;
async function LOAD_LJOIN(QUERY) {
if (!ljoin) ljoin = await load_ljoin({
ready_sqls, add_column, tag, MQL_DEBUG,
connection_info, QUERY, VALUES, IN, NOT_IN, EQ, SET, COLUMN, CL, TABLE, TB, SQL, SQLS
});
return ljoin(QUERY);
}
return {

@@ -403,3 +408,3 @@ VALUES, IN, NOT_IN, EQ, SET, COLUMN, CL, TABLE, TB, SQL, SQLS, MQL_DEBUG,

ASSOCIATE1,
LJOIN: ljoin(QUERY),
LOAD_LJOIN: use_ljoin ? LOAD_LJOIN : null,
async TRANSACTION() {

@@ -422,3 +427,3 @@ try {

ASSOCIATE1,
LJOIN: ljoin(QUERY),
LJOIN: use_ljoin && ljoin ? await ljoin(QUERY) : null,
COMMIT: _ => COMMIT(client),

@@ -425,0 +430,0 @@ ROLLBACK: _ => ROLLBACK(client)

{
"name": "mql2",
"version": "0.1.13",
"version": "0.1.14",
"description": "query builder",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -57,3 +57,3 @@ # MQL - Node.js Functional SQL Query Builder & ORM

const { CONNECT } = PostgreSQL;
const POOL = await CONNECT({
const POOL = CONNECT({
host: 'localhost',

@@ -75,3 +75,3 @@ user: 'username',

const { CONNECT } = MySQL;
const POOL = await CONNECT({
const POOL = CONNECT({
host: 'localhost',

@@ -126,3 +126,3 @@ user: 'username',

```javascript
const POOL = await CONNECT();
const POOL = CONNECT();
const {

@@ -459,3 +459,3 @@ VALUES, IN, NOT_IN, EQ, SET, COLUMN, CL, TABLE, TB, SQL, MQL_DEBUG,

const { CONNECT } = PostgreSQL;
const POOL = await CONNECT({
const POOL = CONNECT({
host: 'localhost',

@@ -462,0 +462,0 @@ user: 'username',

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