Comments (5)
No, we should not write a custom SQL parser
I guess this may help?
from sea-schema.
No, we should not write a custom SQL parser
I guess this may help?
Yes, we could use a combination of SQLite pragma statements for
-
Getting column info: https://www.sqlite.org/pragma.html#pragma_table_info
-
Getting foreign key info: https://www.sqlite.org/pragma.html#pragma_foreign_key_list
-
Getting index & primary key info: https://www.sqlite.org/pragma.html#pragma_index_list
from sea-schema.
Hey @charleschege, just a quick check, are you taking this issue?
from sea-schema.
Hi @billy1624 I am working on it
from sea-schema.
Thanks!! Do ping me if you need any help, either here or Discord, both fine.
from sea-schema.
Related Issues (20)
- Incorrect Discovery for Composite Foreign Keys in PostgreSQL HOT 4
- Support SQLite foreign key short hand syntax HOT 5
- Determine SQLite type by following affinity rule HOT 9
- Unhandled panics when detecting Postgres table schemas HOT 4
- Generating entity with sea-orm-cli panics when foreign key was added on table on postgres HOT 3
- Error generating entity fromSQLite database with decimal type
- postgres timestamp mapping error: SQL type `TIMESTAMPTZ`) is not compatible with SQL type `TIMESTAMP` HOT 2
- How to define column with `DEFAULT CURRENT_TIMESTAMP`?
- Version bump of sea-orm required for compatibility with 0.7.0 HOT 2
- Dump SeaORM Dependency from SeaSchema's Migrator HOT 7
- Support for VIEWS HOT 2
- sqlite ForeignKeysInfo pub access struct fields HOT 8
- sea-orm-cli generate entity -> Unknown column 'generation_expression' error HOT 3
- Support Posgtresql network types
- Upgrade sqlx to 0.6 HOT 1
- Unknown column 'user_defined_type_schema' error (CockroachDB) HOT 2
- MSRV
- Add year, bit and varbit types
- Parse Postgres `citext` column type as string
- Add support for custom where predicate and index type HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sea-schema.