Skip to content

Releases: NightMarcher/fastapi-efficient-sql

0.0.14

15 Mar 07:55
Compare
Choose a tag to compare

Added

  • Add new parameter assign_field_dict to update_json_field. Here

Improved

  • Switch to CursorHandler.sum_row_cnt in BaseManager.insert_into_select. Here

0.0.13

05 Feb 08:04
Compare
Choose a tag to compare

Fixed

  • Join on multiple columns in SQLizer.bulk_update_from_dicts.Here

0.0.12

10 Jan 10:25
Compare
Choose a tag to compare

Improved

  • Wrap table name with backticks.Here
  • Enable keyword-only arguments for the main methods.Here

Fixed

  • Don't modify params of BaseManager.create_from_dict in place.

0.0.11

24 Aug 06:46
Compare
Choose a tag to compare

Added

  • Add new parameter merge_fields to bulk_update_from_dicts. Here
  • Add new parameter merge_fields to upsert_on_duplicate. Here

Improved

  • Allow passing upsert_fields with None to upsert_on_duplicate. Here

0.0.10

18 Aug 07:28
Compare
Choose a tag to compare

Added

  • New function convert_dicts, and use in CursorHandler. Here
  • Import escape_string from Tortoise-ORM. Here

0.0.9

09 Aug 12:21
Compare
Choose a tag to compare

Added

  • New method select_one_record of BaseManager. Here
  • New parameter index of SQLizer.select_custom_fields.

Improved

  • Switch virtual environment management to Poetry. Here
  • Fix wrong use of asynctest. Here

0.0.8

14 Feb 10:14
Compare
Choose a tag to compare

Added

  • Testing supported by unittest, asynctest and pytest.
  • New parameter offset of SQLizer.select_custom_fields. Here

Improved

  • Check model of managers and table of model.Meta first. Here
  • Decorator timing supports both sync and async functions. Here

0.0.7

02 Dec 10:01
Compare
Choose a tag to compare

Added

  • Singleton metaclass. Here
  • Import Q from Tortoise-ORM. Here

Changed

  • Rename to SQLizer.sqlize_value.
  • Make SQL more compact.

0.0.6

21 Nov 03:12
Compare
Choose a tag to compare
fix: Q.resolve compatibility problem

0.0.5

18 Nov 07:45
Compare
Choose a tag to compare
style: rename to bulk_update_from_dicts