get
Services
@Query(value = ""SELECT * FROM " + SERVICES_KEY + _WHERE_ +
"( " +
"MATCH(" + NAME_KEY + "," + PID_KEY + ") AGAINST (:" + KEYWORDS_KEY + _IN_BOOLEAN_MODE + ") " +
"OR :" + KEYWORDS_KEY + " = ''" +
") " +
"AND " + STATUS_KEY + " IN (:" + STATUSES_KEY + ") " +
"AND " + HOST_IDENTIFIER_KEY + "=:" + HOST_IDENTIFIER_KEY",
nativeQuery = true
)
Query used to count the services related to a host
Return
the services related to a host as List of BrownieHostService
Parameters
hostId
The identifier of the host
keywords
The keywords used to filter the results
statuses
The statuses used to filter the results
pageable
The parameters to paginate the query