You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I find it cumbersome when developing that I have to connect to the production database instance or a clone. In my case, a full DDL of the database would be available. As far as I understand it, all type information should also be derivable from the DDL.
I would appreciate a way to be able to use the DDL instead of a direct connection. I realize that in this case you have possible discrepancies in the generation if, for example, the live database has been modified but the DLL has not.
Describe the solution you'd like
Instead of providing a database connection, i would like to provide one or more files with the DDL for the Database. Additional context
I am not aware of any typescirpt library that generates types from DDL. However, i found a python package: https://pypi.org/project/omymodels/
Example DDL:
CREATE table user_history (
runid decimal(21) null
,job_id decimal(21) null
,id varchar(100) not null
,user varchar(100) not null
,status varchar(10) not null
,event_time timestamp not null default now()
,comment varchar(1000) not null default 'none'
) ;
```
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I find it cumbersome when developing that I have to connect to the production database instance or a clone. In my case, a full DDL of the database would be available. As far as I understand it, all type information should also be derivable from the DDL.
I would appreciate a way to be able to use the DDL instead of a direct connection. I realize that in this case you have possible discrepancies in the generation if, for example, the live database has been modified but the DLL has not.
Describe the solution you'd like
Instead of providing a database connection, i would like to provide one or more files with the DDL for the Database.
Additional context
I am not aware of any typescirpt library that generates types from DDL. However, i found a python package: https://pypi.org/project/omymodels/
Example DDL:
The text was updated successfully, but these errors were encountered: