Forked from pypika / pypika-tortoise and streamline just for chiori
  • Python 99.8%
  • Makefile 0.2%
Find a file
Copilot 378f6145f7
Add default_values() insert API with dialect-aware SQL forms (#40)
* Initial plan

* feat: add insert default_values support across dialects

Co-authored-by: abondar <10978839+abondar@users.noreply.github.com>

* test: narrow default_values coverage to unambiguous SQL cases

Co-authored-by: abondar <10978839+abondar@users.noreply.github.com>

* chore: bump version to 0.6.5 and update changelog

Co-authored-by: abondar <10978839+abondar@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: abondar <10978839+abondar@users.noreply.github.com>
2026-03-13 22:42:56 +02:00
.github/workflows ci: update pypi workflow 2025-09-02 11:21:05 +08:00
pypika_tortoise Add default_values() insert API with dialect-aware SQL forms (#40) 2026-03-13 22:42:56 +02:00
tests Add default_values() insert API with dialect-aware SQL forms (#40) 2026-03-13 22:42:56 +02:00
.gitignore update name and README 2021-03-20 23:36:17 +08:00
CHANGELOG.md Add default_values() insert API with dialect-aware SQL forms (#40) 2026-03-13 22:42:56 +02:00
conftest.py init 2021-03-20 23:28:51 +08:00
LICENSE Initial commit 2021-03-20 22:13:06 +08:00
Makefile Release 0.6.2 (#36) 2025-09-01 20:11:12 +08:00
pyproject.toml Release 0.6.2 (#36) 2025-09-01 20:11:12 +08:00
README.md Replace kwargs with SqlContext in get_sql (#23) 2025-01-10 18:00:27 +02:00
uv.lock Release 0.6.2 (#36) 2025-09-01 20:11:12 +08:00

pypika-tortoise

image image image image

Forked from pypika and adapted just for tortoise-orm.

Why forked?

The original repository includes many databases that Tortoise ORM doesnt require. It aims to be a comprehensive SQL builder with broad compatibility, but thats not the goal for Tortoise ORM. Having it forked makes it easier to add new features for Tortoise.

What changed?

Deleted unnecessary code that Tortoise ORM doesnt require, added features tailored specifically for Tortoise ORM, and modified to improve query generation performance.

ThanksTo

  • pypika, a Python SQL query builder that exposes the full expressiveness of SQL, using a syntax that mirrors the resulting query structure.

License

This project is licensed under the Apache-2.0 License.