mirror of
https://github.com/knex/knex.git
synced 2025-07-12 11:30:34 +00:00

To make it possible for individual dialects to provide their own variant of common SQL-functions like NOW()
10 lines
131 B
JavaScript
10 lines
131 B
JavaScript
// FunctionHelper
|
|
// -------
|
|
|
|
module.exports = {
|
|
|
|
now : function() {
|
|
return new this.client.Raw('CURRENT_TIMESTAMP');
|
|
}
|
|
|
|
}; |