* 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> |
||
|---|---|---|
| .. | ||
| utils | ||
| __init__.py | ||
| base_document.py | ||
| create_new.py | ||
| db_query.py | ||
| delete_doc.py | ||
| docfield.py | ||
| document.py | ||
| dynamic_links.py | ||
| mapper.py | ||
| meta.py | ||
| naming.py | ||
| rename_doc.py | ||
| sync.py | ||
| workflow.py | ||