Stub things that should be documented about albums
@@ -26,7 +26,16 @@ Under the hood, Photos.app uses [Core Data](https://developer.apple.com/library/
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## Albums
|
||||||
|
|
||||||
|
**TODO** Document the following
|
||||||
|
|
||||||
|
* [ ] Joining assets
|
||||||
|
* [ ] Smart albums (e.g. 'FetchingAlbum')
|
||||||
|
- [`ZUSERQUERYDATA` looks like an `NSPredicate`](https://nshipster.com/nspredicate/#using-nspredicate-with-core-data)
|
||||||
|
* [ ] Import sessions
|
||||||
|
* [ ] Folder hierarchy
|
||||||
|
* [ ] Sorting
|
||||||
|
|
||||||
---
|
---
|
||||||
<a name="assets-join-table">1</a>: This is actually a dynamically named table of the form `Z_##ASSETS`. The ## is the `Z_ENT` value for the record with `Z_NAME = 'Album'` from the `Z_PRIMARYKEY` table. It always appears to be 26 for the macOS Photos library but in [this post](https://www.forensicmike1.com/2019/05/02/ios-photos-sqlite-forensics/) it is `Z_23ASSETS` for an iOS Photos library.
|
<a name="assets-join-table">1</a>: This is actually a dynamically named table of the form `Z_##ASSETS`. The ## is the `Z_ENT` value for the record with `Z_NAME = 'Album'` from the `Z_PRIMARYKEY` table. It always appears to be 26 for the macOS Photos library but in [this post](https://www.forensicmike1.com/2019/05/02/ios-photos-sqlite-forensics/) it is `Z_23ASSETS` for an iOS Photos library.
|
||||||
Reference in New Issue
Block a user