Page MenuHomePhabricator

[identity] Add function to check if device exists
ClosedPublic

Authored by bartek on Dec 7 2023, 12:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 6, 7:10 AM
Unknown Object (File)
Sat, Jan 4, 5:30 PM
Unknown Object (File)
Mon, Dec 23, 10:02 AM
Unknown Object (File)
Mon, Dec 23, 10:02 AM
Unknown Object (File)
Mon, Dec 23, 10:02 AM
Unknown Object (File)
Mon, Dec 23, 10:02 AM
Unknown Object (File)
Mon, Dec 23, 10:02 AM
Unknown Object (File)
Wed, Dec 11, 12:33 AM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable