How to use loopback-connector-mysql - 1 common examples

To help you get started, we’ve selected a few loopback-connector-mysql examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github harishanchu / workplace / server / boot / sqljoin.js View on Github external
/**
 * sqljoin.js
 *
 * @author: Harish Anchu 
 * @copyright Copyright (c) 2018, Harish Anchu.
 * @license See LICENSE
 */
'use strict';

const MySQL = require('loopback-connector-mysql').MySQL;
const SqlConnector = require('loopback-connector').SqlConnector;
const ParameterizedSQL = SqlConnector.ParameterizedSQL;
const debug = require('debug')('loopback:connector:mysql');
const utilities = require('../../util/utilities');

/**
 * Adds inner join support to loopback-connector-mysql
 *
 * @param server
 */
module.exports = function modifyLoopbackMySQLConnector(server) {
  /**
   * Build a SQL SELECT statement
   * @param {String} model Model name
   * @param {Object} filter Filter object
   * @param {Object} options Options object

loopback-connector-mysql

MySQL connector for loopback-datasource-juggler

MIT
Latest version published 28 days ago

Package Health Score

81 / 100
Full package analysis

Popular loopback-connector-mysql functions

Similar packages