mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Change endpoint from persons to people
This commit is contained in:
25
backend/apis/nodejs/node_modules/knex/lib/formatter.js
generated
vendored
Normal file
25
backend/apis/nodejs/node_modules/knex/lib/formatter.js
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
const {
|
||||
columnize: columnize_,
|
||||
wrap: wrap_,
|
||||
} = require('./formatter/wrappingFormatter');
|
||||
|
||||
class Formatter {
|
||||
constructor(client, builder) {
|
||||
this.client = client;
|
||||
this.builder = builder;
|
||||
this.bindings = [];
|
||||
}
|
||||
|
||||
// Accepts a string or array of columns to wrap as appropriate.
|
||||
columnize(target) {
|
||||
return columnize_(target, this.builder, this.client, this);
|
||||
}
|
||||
|
||||
// Puts the appropriate wrapper around a value depending on the database
|
||||
// engine, unless it's a knex.raw value, in which case it's left alone.
|
||||
wrap(value, isParameter) {
|
||||
return wrap_(value, isParameter, this.builder, this.client, this);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Formatter;
|
Reference in New Issue
Block a user