HomePhabricator
Diffusion Comm 5bb485784ac3

[identity] Add function to retrieve user's devices

Description

[identity] Add function to retrieve user's devices

Summary:
This function retrieves all Device rows for given user. This is a counterpart of get_keys_for_user function in "legacy" schema.

Depends on D10216

Test Plan: Added a few test rows (with both device- and devicelist- prefixes) to the identity-devices table and verified that the function returns only the device- items.

Reviewers: michal, varun

Reviewed By: varun

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D10217

Details

Provenance
bartekAuthored on Dec 6 2023, 1:31 PM
Reviewer
varun
Differential Revision
D10217: [identity] Add function to retrieve user's devices
Parents
rCOMM9a5fae5ebcdb: identity] Add function to get current device list timestamp
Branches
Unknown
Tags
Unknown