Logo
Explore Help
Register Sign In
yujunjun/knex
1
0
Fork 0
You've already forked knex
mirror of https://github.com/knex/knex.git synced 2025-07-09 01:51:05 +00:00
Code Issues Packages Projects Releases Wiki Activity
knex/lib/functionhelper.js

11 lines
144 B
JavaScript
Raw Normal View History

Fixed several jshint warnings. Added strict mode
2014-09-01 17:18:45 +02:00
'use strict';
Added a function helper collection To make it possible for individual dialects to provide their own variant of common SQL-functions like NOW()
2014-07-03 11:59:29 +02:00
// FunctionHelper
// -------
module.exports = {
Add .joinRaw and remove deprecated join notices
2014-08-14 18:02:50 -04:00
now: function() {
Added a function helper collection To make it possible for individual dialects to provide their own variant of common SQL-functions like NOW()
2014-07-03 11:59:29 +02:00
return new this.client.Raw('CURRENT_TIMESTAMP');
}
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 389ms Template: 24ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API