lib/dialects/sqlite3/raw.js

Raw

module.exports = function(client) { var Raw = require('../../raw'); var inherits = require('inherits');

Inherit from the Raw constructor's prototype, so we can add the correct then method.

function Raw_SQLite3() { this.client = client; Raw.apply(this, arguments); } inherits(Raw_SQLite3, Raw);

Assign the newly extended Raw constructor to the client object.

client.Raw = Raw_SQLite3; };