Decouple browse views from FTS
This commit is contained in:
parent
9fa2dbbadc
commit
d8ecf5f607
3 changed files with 40 additions and 106 deletions
|
@ -30,6 +30,7 @@ This document orients automation agents and contributors to the mp3-com-meta-bro
|
|||
- Expect to run entirely client-side; the database is opened with read-only mode via `sql.js`.
|
||||
- Always page results with `LIMIT ? OFFSET ?`; avoid `SELECT *` unless fetching a single record by ID.
|
||||
- Prefer prepared statements or cached query strings when querying repeatedly.
|
||||
- Reserve FTS (`fts_tracks`) for the free-text Track Search overlay; browse views should stick to indexed base tables to keep fan-out predictable.
|
||||
- HTTP servers used in development or deployment must send `Accept-Ranges: bytes` so the VFS can issue range requests.
|
||||
|
||||
## Database Schema
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue