Skip to content

How to override the data class name of view in .drift files. #2912

Answered by simolus3
masahiro-ikemoto asked this question in Q&A
Discussion options

You must be logged in to vote

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 ..., but AS is not supported.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@masahiro-ikemoto
Comment options

@simolus3
Comment options

Answer selected by masahiro-ikemoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants