host
Belongs
To
Session
@Query(value = ""SELECT * FROM " + HOSTS_KEY + _WHERE_ +
IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY +
" AND " + SESSION_IDENTIFIER_KEY + "=:" + SESSION_IDENTIFIER_KEY",
nativeQuery = true
)
Query used to check whether a host belongs to the specified session
Return
the host as BrownieHost if belongs, null otherwise
Parameters
hostId
The identifier of the host
sessionId
The identifier of the session