Repository navigation
v0.4.1
The latest version includes minor updates, primarily focusing on aligning on_delete parameter values with Pydantic field specifications. Here are the main changes:
Code Refactoring
- Refactored the
_get_on_delete_actionmethod inmodels.pyto handle the correct mapping ofon_deleteparameter values for foreign key actions.
Tests
- Updated
on_deleteparameter values in test functions intest_delete.pyto match the correct values for PydanticFieldclass.
Documentation
- Updated
README.mdto reflect the correcton_deleteparameter values in thePostmodel fields.
In summary, this small update ensures the correct handling and documentation of on_delete parameter values.
Features and Roadmap
- Define table schema using Pydantic models
- Basic CRUD operations
- Save data to the database
- Read data from the database
- Update data in the database
- Delete data from the database
- Relationships between tables
- One-to-many
- Create a tables with a foreign key
- Save data with a foreign key
- Read data with a foreign key
- Update data with a foreign key
- Delete data with a foreign key
- Cascade
- Set null
- Restrict
- Set default
- No action
- One-to-one
- Many-to-many
- One-to-many
- Unique constraints
- Remove table
- Update table schema
- Filter data and retrieve multiple records
- Custom primary key
- Bulk operations (save, update, delete)
- Migrations
Full Changelog: v0.4.0...v0.4.1