不要怂,就是干,撸起袖子干!

Commit 667cae4f by Jan Aagaard Meier

Typo

1 parent 77298788
Showing with 6 additions and 4 deletions
...@@ -274,13 +274,15 @@ module.exports = (function() { ...@@ -274,13 +274,15 @@ module.exports = (function() {
}, },
/* /*
Quote an object based on its type. This is a more general version of quoteIdentifier Quote an object based on its type. This is a more general version of quoteIdentifiers
Strings: should proxy to quoteIdentifiers Strings: should proxy to quoteIdentifiers
Arrays: First argument should be qouted, second argument should be append without quoting Arrays: First argument should be qouted, second argument should be append without quoting
Objects: Objects:
If fn is set, the string should start with the value of fn, starting paren, * If raw is set, that value should be returned verbatim, without quoting
the values of cols (which is assumed to be an array), quoted and joined with ', ', unless they are themselves functions * If fn is set, the string should start with the value of fn, starting paren, followed by
If direction is set, should be prepended the values of cols (which is assumed to be an array), quoted and joined with ', ',
unless they are themselves objects
* If direction is set, should be prepended
Currently this function is only used for ordering / grouping columns, but it could Currently this function is only used for ordering / grouping columns, but it could
potentially also be used for other places where we want to be able to call SQL functions (e.g. as default values) potentially also be used for other places where we want to be able to call SQL functions (e.g. as default values)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!