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

Is there any plan to support to change table name at runtime? #988

Closed
nottxy opened this Issue Jul 4, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@nottxy
Contributor

nottxy commented Jul 4, 2017

There are many monthly tables in our DB. Their schemas are the same.

i.e. battle_reports_201701, battle_reports_201702

So that would be wonderful if diesel could support the table name could be assigned at runtime, I believe that this feature will be welcomed.

Thanks you guys for amazing diesel!

@nottxy nottxy changed the title from Is there any plan to support change table name at runtime? to Is there any plan to support to change table name at runtime? Jul 4, 2017

@sgrif

This comment has been minimized.

Member

sgrif commented Jul 4, 2017

This isn't a feature that we're currently looking to support. You could make this work using the sql function.

@sgrif sgrif closed this Jul 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment