How to use the machinepack-mysql.compileStatement function in machinepack-mysql

To help you get started, we’ve selected a few machinepack-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 balderdashy / sails-mysql / helpers / private / query / compile-statement.js View on Github external
module.exports = function compileStatement(statement, meta) {
  var report = MySQL.compileStatement({
    statement: statement,
    meta: meta
  }).execSync();

  return report;
};