Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: NightMarcher/fastapi-efficient-sql

0.0.15

13 Jan 07:26
@NightMarcher NightMarcher

Choose a tag to compare

Improved

  • Replace sqlize_value method with escape, and upgrade with tortoise.converters.escape_item, which escape punctuation inside.
Assets 2
Loading

0.0.14

15 Mar 07:55
@NightMarcher NightMarcher

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
Loading

0.0.13

05 Feb 08:04
@NightMarcher NightMarcher

Choose a tag to compare

Fixed

  • Join on multiple columns in SQLizer.bulk_update_from_dicts.Here
Loading

0.0.12

10 Jan 10:25
@NightMarcher NightMarcher

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.
Loading

0.0.11

24 Aug 06:46
@NightMarcher NightMarcher

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
Loading

0.0.10

18 Aug 07:28
@NightMarcher NightMarcher

Choose a tag to compare

Added

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

0.0.9

09 Aug 12:21
@NightMarcher NightMarcher

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
Loading

0.0.8

14 Feb 10:14
@NightMarcher NightMarcher

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
Loading
zhangkai803 reacted with hooray emoji
1 person reacted

0.0.7

02 Dec 10:01
@NightMarcher NightMarcher

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.
Loading

0.0.6

21 Nov 03:12
@NightMarcher NightMarcher

Choose a tag to compare

fix: Q.resolve compatibility problem
Loading
Previous 1
Previous

AltStyle によって変換されたページ (->オリジナル) /