seitime-frappe/frappe/model/utils
Tai Cai 12efd72cc9 fix(model): fix postgres compatibility in update_user_settings
In Postgres, double quotes denote identifiers. The previous LIKE clause format caused "UndefinedColumn" errors during field renaming (e.g., during HRMS installation) because the pattern was interpreted as a column name.

This change parameterizes the LIKE pattern and passes the wildcarded value as a bound parameter, ensuring compatibility with both MySQL and Postgres.
2025-12-24 11:33:42 +07:00
..
__init__.py fix: simplify load_from_db logic 2025-03-15 16:14:55 +05:30
link_count.py fix: Sample link counts and flush frequently (#32713) 2025-05-29 12:18:28 +05:30
mask.py feat: implement field masking for query builder (#35230) 2025-12-16 12:08:13 +05:30
rename_doc.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
rename_field.py fix(model): fix postgres compatibility in update_user_settings 2025-12-24 11:33:42 +07:00
user_settings.py fix(sqlite): user_sync query was wrong (#34897) 2025-11-26 15:15:05 +05:30