A typical share query looks like this. select `share_name` from `tabDocShare` where `tabDocShare`.`read` = 1.0 and `tabDocShare`.`share_doctype` = 'Pick List' and (`tabDocShare`.`user` = 'username' or `tabDocShare`.`everyone` = 1.0) order by `tabDocShare`.`modified` DESC; None of existing indexes provide `everyone` values quickly, so `OR` clause effectively clauses full table scan ALL THE TIME. |
||
|---|---|---|
| .. | ||
| api | ||
| doctype | ||
| form_tour | ||
| page | ||
| report | ||
| web_form | ||
| workspace | ||
| __init__.py | ||
| notifications.py | ||
| README.md | ||
| utils.py | ||
Core module contains the models required for the basic functioning of frappe including DocType, User (user), Role and others.