-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathrecents.sql
More file actions
24 lines (21 loc) · 617 Bytes
/
recents.sql
File metadata and controls
24 lines (21 loc) · 617 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
-- IOS \Home\Library\Mail
select
recents.ROWID,
contacts.kind,
recents.sending_address,
contacts.address,
contacts.display_name,
metadata.key,
metadata.value, --BLOB: bplist
recents.original_source as 'source',
recents.dates, --dates in Unix milliseconds
datetime(recents.last_date/1000, 'unixepoch') as 'lastdate',
recents.weight,
recents.record_hash,
recents."count",
recents.group_kind
from recents
join contacts on recents.ROWID = contacts.recent_id
left join metadata on metadata.recent_id = recents.ROWID
-- group by recents.ROWID (to omit multiple entries)
order by lastdate desc