Skip to content

v0.6.1

Choose a tag to compare

@SpaceShaman SpaceShaman released this 30 Jul 19:57
· 244 commits to master since this release

The latest version includes a hotfix to address issues with fetching data for many-to-many relationships, specifically fixing an infinite recursion problem. Here are the main changes:

Code Refactoring

  • Updated the _process_raw_data method in models.py to accept an is_recursive_call parameter.
  • Added the is_recursive_call parameter to the _fetchone_raw_data method to prevent infinite recursion.

In summary, this hotfix resolves an infinite recursion issue when fetching data for many-to-many relationships.

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
  • Unique constraints
  • Remove table
  • Read all data from the database
  • Filter data and retrieve multiple records
    • Equal
    • Not equal
    • Greater than
    • Greater than or equal
    • Less than
    • Less than or equal
    • Contains
    • Pagination
  • Update table schema
  • Custom primary key
  • Bulk operations (save, update, delete)
  • Migrations

Full Changelog: v0.6.0...v0.6.1