count
Device
References
@Query(value = ""SELECT COUNT(*) FROM " + USER_DEVICES_KEY +
_WHERE_ + DEVICE_IDENTIFIER_KEY + "=:" + DEVICE_IDENTIFIER_KEY",
nativeQuery = true
)
Query used to count the total references of the device between sessions
Return
the total references as long
Parameters
deviceId
The identifier of the device