Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/**
* 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