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-29 10:06:31 +00:00
Code Issues Packages Projects Releases Wiki Activity
knex/src/util/fake-client.js

10 lines
166 B
JavaScript
Raw Normal View History

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
import Formatter from '../formatter';
const fakeClient = {
formatter(builder) {
return new Formatter(fakeClient, builder);
},
};
export default fakeClient;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 238ms Template: 16ms
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