Comments (4)
@cheesycod There should be no problems with this - just define the models in Piccolo, and it can connect to existing database tables.
If using Piccolo migrations, the first time you run them you might want to use the fake flag.
piccolo migrations forwards some_app --fake
from piccolo.
Hello,
following up on this question, would an inspection mechanism such as python manage.y inspectdb
to create the models in Piccolo automaticaly make sense ?
Thank you
from piccolo.
Hi @vctrd, that's a good idea.
I've started putting together a simple prototype - will try and release this soon, as I can see it being a big time saver for people.
from piccolo.
Thank you very much, I'll have a look.
from piccolo.
Related Issues (20)
- Be able to extract parts of timestamps / dates
- Update Litestar asgi template HOT 1
- [Litestar] nested not working with create_pydantic_model response HOT 8
- Something like «makemigrations» HOT 5
- name 'Serial' is not defined HOT 11
- Atomic transaction? HOT 6
- `ModelBuilder` doesn't support `LazyTableReference`
- [Enhancement] Exclude `graphlib` from test coverage HOT 1
- Litestar asgi template currently does not work properly
- `Ruff` as a linter for Piccolo HOT 3
- Tweak how `ModelBuilder` creates JSON values
- auto migrations fails when table in schema HOT 3
- Intermittent TypeError in get_sql_value: isinstance() arg 2 must be a type, a tuple of types, or a union HOT 2
- How to use join? HOT 2
- Implement support for Pydantic v2 HOT 2
- Allow user-defined alternatives to piccolo_app and piccolo_conf files HOT 1
- instance.delete() not work as expected HOT 2
- Properly fix `slotscheck` for Python 3.12
- Type of "create_pydantic_model" is partially unknown (Python 3.11) HOT 3
- Column definition not parsed in class Table HOT 5
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 piccolo.