How to override the data class name of view in .drift files. #2912
Answered
by
simolus3
masahiro-ikemoto
asked this question in
Q&A
-
The data class name of a table can be overridden by AS, but can the data class name of a view be overridden?
|
Beta Was this translation helpful? Give feedback.
Answered by
simolus3
Mar 6, 2024
Replies: 1 comment 2 replies
-
At the moment, custom names for views in drift files are not supported due to the ambiguities in syntax. You can use existing row classes by writing |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
masahiro-ikemoto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment, custom names for views in drift files are not supported due to the ambiguities in syntax.
You can use existing row classes by writing
CREATE VIEW Categories WITH MyCategoryClass AS SELECT ...
, butAS
is not supported.