Changes for lib/util/parse-key.js: 8 added lines, 4 removed lines.
Original line number
Diff line number
Diff line
@@ -9,9 +9,10 @@
* @module util/parseKey
* @param {String} key A reference to a database column. The field name may be quoted using double quotes to allow names which otherwise would not conform with database naming conventions. Optional components include, in order, [] and . notation to describe elements of a JSON field; ::type to describe a cast; and finally, an argument to the appendix function.
* @param {Object} appendix A function which when invoked with an optional component of the key returns a value to be used later. So far used for operations (from {@linkcode where}) and ordering (from {@linkcode order}.
* @param {Boolean} jsonAsText A boolean to determine which JSON extraction operators to use
* @return {Object} An object describing the parsed key.