-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
Using views #306
Comments
Hi. View is not implemented right now but it exists in TODO list. The way how I see view API is:
Also you need to have a class in C++ to map to your view. What do you think? |
What view do you need? TEMP or not? |
Both capabilities would be great but either will suffice. I have a query with six joins to the same part table from a table with foreign keys to those parts that I could not figure out how to do “join as alias” with with this API to make them distinct, so I have manually made a view to flatten it out but I’m not then sure how to do view access with it yet. So there’s another question, how to get the as alias to work with joins?
Dan
|
You can use aliases in the lib until views are not implemented |
Hello, I’d also like to be able to read a view… Read only is enough for me today. is there already a way for doing so ? (There doesn’t seem to be any but I ask just in case :) ). I tried with a Thanks, |
Hello. Views feature is not implemented right now unfortunately. It exists in TODO list. You can implement it by yourself or wait until I or anyone else implement it. |
Any suggestions on how to use views from within sqlite_orm? Can the sync_schema functionality create views and can they be accessed the same way as tables?
The text was updated successfully, but these errors were encountered: