We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey there! Thanks for awesome lib. I got stuck with project where all DB column names have underscores. for exp:
value_type created_at
So, when I use knexnest it make me fill very bad. Check below:
knex.select([ 'u.value_type as _value_type' ])....
This query return me an object like:
{ value: { type: 'someType' } }
but I need
{ value_type: 'someType' }
How can I fix it? Any recommendation? Thanks a lot.
The text was updated successfully, but these errors were encountered:
Would it work to do something like
knex.select([ 'u.value_type as _valueType' ])....
or do you specifically need value_type?
value_type
Sorry, something went wrong.
Any update on this one? @Duchynko that would require changing all the db schema to camel case format.
No branches or pull requests
Hey there! Thanks for awesome lib.
I got stuck with project where all DB column names have underscores.
for exp:
So, when I use knexnest it make me fill very bad.
Check below:
This query return me an object like:
but I need
How can I fix it? Any recommendation? Thanks a lot.
The text was updated successfully, but these errors were encountered: