mirror of
https://github.com/knex/knex.git
synced 2025-10-11 16:08:16 +00:00
13 lines
228 B
JavaScript
13 lines
228 B
JavaScript
'use strict';
|
|
|
|
// FunctionHelper
|
|
// -------
|
|
function FunctionHelper(client) {
|
|
this.client = client
|
|
}
|
|
|
|
FunctionHelper.prototype.now = function() {
|
|
return this.client.raw('CURRENT_TIMESTAMP')
|
|
}
|
|
|
|
module.exports = FunctionHelper |