Update 'libraries'

Anna Schumaker 2023-05-10 13:29:02 -04:00
parent 455166dba0
commit d0ce8faae5
1 changed files with 12 additions and 8 deletions

@ -20,11 +20,15 @@ Libraries have a "deleting" column which is set when a row is being removed from
### The `libraries_view`
The `libraries_view` joins the `libraries` table with the [[playlist_properties]] table so the application can use one query to access all the relevant state for each library path.
| Column | Description |
| --------------------------------- | -------------------------------------------------------------- |
| libraryid | The libraryid of this library path |
| [propertyid](playlist_properties) | The rowid of the [[playlist_properties]] for this library path |
| path | The filepath of this library path |
| name | The filepath formatted as a string |
| enabled | The user configured enabled property for this library path |
| [active](playlist_properties) | The active state of this library path |
| Column | Description |
| -------------------------------------- | -------------------------------------------------------------- |
| libraryid | The libraryid of this library path |
| [propertyid](playlist_properties) | The rowid of the [[playlist_properties]] for this library path |
| path | The filepath of this library path |
| name | The filepath formatted as a string |
| enabled | The user configured enabled property for this library path |
| [active](playlist_properties) | The active state of this library path |
| [loop](playlist_properties) | The loop state of this library path |
| [shuffle](playlist_properties) | The shuffle state of this library path |
| [sort_order](playlist_properties) | The sort order of this library path |
| [current_trackid](playlist_properties) | The current trackid of this library path |