seitime-frappe/frappe/model
Ankush Menat 8a7beebf30
fix: handle distinct for fieldname (#25511)
`distinct count(fieldname)` is supported well but `count(distinct fieldname)` fails if fieldname contains full field with table name included. This PR just adds basic handling for it.

Needs to be rewritten entirely in QB __some day__.
2024-03-18 13:38:29 +00:00
..
utils fix: ruff fixes 2024-02-07 17:04:31 +05:30
__init__.py fix: remove _lt from frappe.model.std_fields (#24662) 2024-02-01 16:05:25 +05:30
base_document.py fix: No need to sort keys while saving JSON to DB (#25205) 2024-03-04 05:44:46 +00:00
create_new.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
db_query.py fix: handle distinct for fieldname (#25511) 2024-03-18 13:38:29 +00:00
delete_doc.py fix: prevent deletion if document is locked 2024-02-29 16:34:39 +05:30
docfield.py chore!: dead code (#19551) 2023-01-10 18:53:08 +05:30
docstatus.py feat: utility methods for docstatus (#15515) 2022-02-04 07:41:25 +00:00
document.py fix: child table rating fields (#25433) 2024-03-14 09:19:29 +00:00
dynamic_links.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30
mapper.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
meta.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30
naming.py perf: use base32 space for random names instead of base16 (#25497) 2024-03-17 20:02:57 +05:30
rename_doc.py fix: Skip virtual doctype rename for dynamic links (#25479) 2024-03-15 14:01:40 +00:00
sync.py fix: skip overriden doctypes during orphan check (#23518) 2023-11-30 11:33:42 +00:00
virtual_doctype.py refactor: migrate virtual doctypes to new API 2024-03-11 18:25:05 +05:30
workflow.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30