I created a simple database (SQLite) with a Table and a View. For the View I used the following script:
Code: Select all
CREATE VIEW ProductSlim AS
SELECT ID, Name FROM Product
Database Connection --> main --> Tables --> Product
Database Connection --> main --> Views --> ProductSlim
If I try the function “Generate Database Script From Model” I see that my View is converted to a table:
Code: Select all
--
-- Creating a table "main".ProductSlim
--
CREATE TABLE "main".ProductSlim (
ID INTEGER,
Name TEXT
);
regards
Peter Kuhn