HomePhabricator
Diffusion Comm 2acf67ced5d5

[identity] Add function to check if device exists

Description

[identity] Add function to check if device exists

Summary:
Added a simple query to check if Device item exists in database. Limited projection to avoid fetching all columns.

Depends on D10217

Test Plan: Called this for existing primary key and non-existing primary key.

Reviewers: michal, varun

Reviewed By: michal

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Dec 6 2023, 1:34 PM
Reviewer
michal
Differential Revision
D10218: [identity] Add function to check if device exists
Parents
rCOMM5bb485784ac3: [identity] Add function to retrieve user's devices
Branches
Unknown
Tags
Unknown