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

Is it possible to create MaterializedView table with this ORM? #178

Open
aniruddha-chakraborty opened this issue Sep 16, 2021 · 1 comment

Comments

@aniruddha-chakraborty
Copy link

aniruddha-chakraborty commented Sep 16, 2021

I couldn't find anything that refers to MaterlizedView, we need to create materialized view for multiple tables. Can someone help?

@mangototango
Copy link

Doesn't seem like it's supported currently, you can create them using a raw SQL migration - https://github.com/Infinidat/infi.clickhouse_orm/blob/develop/docs/schema_migrations.md#runsql
Perhaps you can even create a Model subclass that can be used for querying the materialized view just like a regular table.

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

2 participants