* perf: Cache db columns to avoid redundant database calls * fix: Move cache clearing code from doctype to schema.py * fix: self.table_name instead of self.name * fix: Cache columns in "table_columns" key `table_columns` was cached in meta but columns were also getting accessed directly using frappe.db.get_table_columns. Now, it is cached at `frappe.db` layer Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com> |
||
|---|---|---|
| .. | ||
| mariadb | ||
| postgres | ||
| __init__.py | ||
| database.py | ||
| db_manager.py | ||
| schema.py | ||