Comments (6)
hm, could be good. I'd prefer the shorter option name prefixFields
, and have it accept either a string or a boolean. Strings would be used as the prefix, whereas a boolean true
would cause the tableName + '_'
to be used as the prefix.
A pull-request would be most welcome, otherwise I'll get to it when I have some time, pretty busy today.
from gesundheit.
Would this, if implemented, also works with table aliases as well? Last time I had to do a large join and table aliases and column lists didn't go so well together.
from gesundheit.
I don't see why not... what was unpleasant about table aliases and column lists?
from gesundheit.
Please take a look at the tests added in the last commit and let me know if that API seems sensible. If so I'll try to get around to updating the docs and pushing a new version soon.
from gesundheit.
NICE, Looks good 💃
Thank you very much.
But how do I compile your latest code? Because I need this prefix feature.
Currently I use npm install inside my app.
from gesundheit.
nice.
from gesundheit.
Related Issues (20)
- Deprecated `project` still found in documentation
- Incorrect column/keyword escaping characters for MySQL HOT 3
- any-db pooling HOT 1
- Example on IS NOT TRUE HOT 3
- Bug on condition OR/AND
- A better joining? HOT 4
- gesundheit package.json is still picking up [email protected]
- AnyDB link in README is broken
- Error handling for where clause with undefined predicate HOT 3
- Docs appear broken HOT 4
- Creating a custom dialect to change `LIMIT` to `TOP` HOT 7
- update for any-db 2.0 HOT 8
- GroupBy() an aliased column HOT 1
- Postgres JSON API
- SQL Function in Order HOT 1
- Run against multiple databases in one process HOT 2
- allow exists/notExists as a field HOT 2
- allow subselects in joins HOT 1
- add 'after' parameter to .join() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gesundheit.