seitime-frappe/frappe/database
Ankush Menat 3cb6602704
fix!: Only query single for single doctypes (#36519)
Right now, if `None` is passed as second arguement we automatically
query singles, in 99% cases this just results in `None` with extra
steps... But why do that?

Better to terminate query early and return nothing if `pk==null` is
requested.
2026-01-30 11:22:17 +00:00
..
mariadb fix(estimate_count): scope to site db (#35481) 2025-12-29 14:11:34 +05:30
postgres perf(postgres): skip unnecessary migrations due to type mismatch (#34784) 2025-12-29 18:29:22 +05:30
sqlite feat(sqlite): Set 5s of busy_timeout 2025-10-28 13:54:53 +05:30
__init__.py refactor: Default to mysqlclient (#32987) 2025-06-18 06:04:24 +00:00
database.py fix!: Only query single for single doctypes (#36519) 2026-01-30 11:22:17 +00:00
db_manager.py refactor: use a database file directly, instead of an SQL file 2025-04-15 13:59:16 +05:30
operator_map.py fix(postgres): misc query building fixes + CI (#34831) 2025-12-05 10:30:49 +05:30
query.py refactor: better variable naming 2026-01-22 10:50:20 +05:30
schema.py fix(schema): ensure int-int comparison (#34320) 2025-10-09 15:25:50 +05:30
sequence.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
utils.py fix(postgres): drop_index_if_exists uses DROP INDEX IF EXISTS (#35636) 2026-01-05 11:15:41 +00:00