Skip to content
New issue

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

Enhancement: Option to specify table name to CRUD operations #391

Open
mcandre opened this issue Apr 3, 2019 · 0 comments
Open

Enhancement: Option to specify table name to CRUD operations #391

mcandre opened this issue Apr 3, 2019 · 0 comments

Comments

@mcandre
Copy link

mcandre commented Apr 3, 2019

Hi, I like the ability for gorp to change the table name at runtime. But for my purposes, I actually want more control over the table names on a per-query basis, so that I can continue to serve read requests from one data set while another table gathers insertions. Could Get(), Insert(), Update(), etc. receive an additional parameter for overriding the table name?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant