columnInfo is not using wrapIdentifier #2402
Closed
Labels
Comments
Yeah, there are many places specially in schema methods, which are not using wrapIdentifier correctly. These should be tested and fixed. |
I'm working on a fix for this. I'll submit a PR soon. |
koskimas
added a commit
to koskimas/knex
that referenced
this issue
Jan 2, 2018
koskimas
added a commit
to koskimas/knex
that referenced
this issue
Jan 2, 2018
elhigu
added a commit
that referenced
this issue
Jan 2, 2018
* Make postgres client wrapIdentifierImpl independent of `this` context * Also fixes a bug where only single digit indices were accepted. * add customWrapIdentifier helper for client * customWrapIdentifier is one more level of abstraction for the wrapIdentifier "pipeline" that allows the custom wrapIdentifier to be called without calling the `wrapIdentifierImpl` * bufix: use custom wrapIdentifier in columnInfo. fixes #2402
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
we are using automatic camelCase transition for tableName and columns as well.
but columnInfo is not changing tableName https://github.com/tgriesser/knex/blob/7de07c966a6ab63087b31cbdd10216d3ddbf8230/src/dialects/postgres/query/compiler.js#L79
The text was updated successfully, but these errors were encountered: