mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-21 02:09:58 +00:00
Convert test-only raw frappe.db.sql calls that have an exact ORM equivalent: full-table/filtered deletes -> frappe.db.delete, count -> frappe.db.count, row-existence assertions -> frappe.db.exists, single-row scalar fetches -> frappe.db.get_value, and simple equality/range-filter selects -> frappe.get_all. No behaviour change. Raw SQL that genuinely needs it is left as-is (dynamic identifiers, aggregates/group-by, positional as_list consumers, DB-catalog introspection).
Customer Support / After sales service / Maintenance Module.