nextcloud / tables

🍱 Nextcloud tables app
https://apps.nextcloud.com/apps/tables
GNU Affero General Public License v3.0
143 stars 24 forks source link

perf: Avoid extra queries to get the view ownership #1062

Closed juliushaertl closed 4 months ago

juliushaertl commented 4 months ago

Currently we were doing n+1 queries just to get the ownership for each table.

We should also add a index for the table_id column on oc_tables_views, but tracking that in #982

blizzz commented 4 months ago

backport?

juliushaertl commented 4 months ago

/backport to stable0.7