uql-codemod 0.48.0 → 0.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entitySql.js +2 -1
- package/dist/imports.js +1 -0
- package/package.json +1 -1
package/dist/entitySql.js
CHANGED
|
@@ -7,7 +7,8 @@ export function isRaw(node) {
|
|
|
7
7
|
: ts.isCallExpression(node)
|
|
8
8
|
? node.expression
|
|
9
9
|
: undefined;
|
|
10
|
-
|
|
10
|
+
const name = identifierText(callee);
|
|
11
|
+
return name === 'raw' || name === 'sql';
|
|
11
12
|
}
|
|
12
13
|
/** The expressions of a column list, written as one or returned by its callback: each entry or `column` that is `raw`. */
|
|
13
14
|
export function columnExpressions(list) {
|
package/dist/imports.js
CHANGED