mirror of
https://github.com/knex/knex.git
synced 2025-07-12 19:40:33 +00:00

To make it possible for individual dialects to provide their own variant of common SQL-functions like NOW()
11 lines
324 B
JavaScript
11 lines
324 B
JavaScript
module.exports = function(client) {
|
|
|
|
var FunctionHelper = require('../../functionhelper');
|
|
|
|
var FunctionHelper_SQLite3 = Object.create(FunctionHelper);
|
|
FunctionHelper_SQLite3.client = client;
|
|
|
|
// Assign the newly extended `FunctionHelper` constructor to the client object.
|
|
client.FunctionHelper = FunctionHelper_SQLite3;
|
|
|
|
}; |