Skip to content

Releases: collerek/ormar

Fix json schema generation

27 Oct 17:30
a8f0ec0
Compare
Choose a tag to compare
Pre-release
  • Fix json schema generation as of #19
  • Fix for not initialized ManyToMany relations in fastapi copies of ormar.Models
  • Update docs in regard of fastapi use
  • Add tests to verify fastapi/docs proper generation
  • Modify schema so that ManyToMany fields show list of nested models in fastapi schema

Added name parameter to provide alternative database column names

22 Oct 12:17
501cdd7
Compare
Choose a tag to compare

Added possibility to provide alternative database column names with name parameter to all fields.
Fix bug with selecting related ManyToMany fields with fields() if they are empty.
Updated documentation

check the documentation: https://collerek.github.io/ormar/models/#fields-names-vs-column-names

Publish docs

08 Oct 16:31
Compare
Choose a tag to compare
Publish docs Pre-release
Pre-release

Publish documentation and update readme

Add fields() QuerySet method, UUID field and UniqueColumns constraint

05 Oct 08:22
dd46dbc
Compare
Choose a tag to compare

Add fields() method to limit the selected columns from database - only nullable columns can be excluded.
Added UniqueColumns and constraints list in model Meta to build unique constraints on list of columns.
Added UUID field type based on Char(32) column type.

For details check Readme and tests.

Add bulk operations

28 Sep 12:56
6d56ea5
Compare
Choose a tag to compare
Add bulk operations Pre-release
Pre-release

Added bulk_create and bulk_update for operations on multiple objects.
See readme file and tests.

Add queryset level methods

24 Sep 15:26
3658d6a
Compare
Choose a tag to compare
Pre-release

Add queryset:

  • delete
  • update
  • get_or_create
  • update_or_create

Add additional filters - startswith and endswith

23 Sep 11:34
c156013
Compare
Choose a tag to compare

Like described in encode/orm#49 - additional filter operators using like and ilike under the hood

Add choices param

23 Sep 08:29
81f6af2
Compare
Choose a tag to compare
Add choices param Pre-release
Pre-release

similiar to one described in encode/orm#57

Added exclude, more fixes and tests

18 Sep 09:16
Compare
Choose a tag to compare
Pre-release

Added exclude to filter where not conditions.

Added tests for mysql and postgres with fixes for postgres.

Rafactors and cleanup.

Added Many2Many relations

14 Sep 15:47
1075e84
Compare
Choose a tag to compare
Pre-release
Merge pull request #4 from collerek/many_to_many

Many to many