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-09-28 17:45:40 +00:00
Code Issues Packages Projects Releases Wiki Activity
knex/lib/util/fake-client.js

10 lines
173 B
JavaScript
Raw Normal View History

Drop support for Node.js 6. Remove babel. (#3227)
2019-06-04 00:37:17 +02:00
const Formatter = require('../formatter');
Resolve unnecessary circular dependencies in code (#2716) (#2838) * Removed Raw->Formatter->Raw circular dependency This was cause due to the backwards compatibility feature for client-less raw() * Removed circular dependency between helpers<->compilers What they really need is a common interface, and perhaps a base class
2018-10-04 00:25:05 +03:00
const fakeClient = {
formatter(builder) {
return new Formatter(fakeClient, builder);
},
};
Drop support for Node.js 6. Remove babel. (#3227)
2019-06-04 00:37:17 +02:00
module.exports = fakeClient;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 404ms Template: 8ms
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