Coder Social home page Coder Social logo

Comments (6)

grncdr avatar grncdr commented on September 1, 2024

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.

chakrit avatar chakrit commented on September 1, 2024

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.

grncdr avatar grncdr commented on September 1, 2024

I don't see why not... what was unpleasant about table aliases and column lists?

from gesundheit.

grncdr avatar grncdr commented on September 1, 2024

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.

jamalsoueidan avatar jamalsoueidan commented on September 1, 2024

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.

chakrit avatar chakrit commented on September 1, 2024

nice.

from gesundheit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.