Devices
Repository
The DevicesRepository
interface is
useful to manage the queries for the devices operations
Author
N7ghtm4r3 - Tecknobit
See also
JpaRepository
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Modifying(clearAutomatically = true
)
@Query(value = "INSERT INTO " + DEVICES_KEY + " (" +
DEVICE_IDENTIFIER_KEY + "," +
BRAND_KEY + "," +
MODEL_KEY + "," +
OS_KEY + "," +
OS_VERSION_KEY +
") VALUES (" +
":" + DEVICE_IDENTIFIER_KEY + "," +
":" + BRAND_KEY + "," +
":" + MODEL_KEY + "," +
":" + OS_KEY + "," +
":" + OS_VERSION_KEY +
")",
nativeQuery = true
)
Method to save a new device in the system