count
Team
Collections
@Query(value = ""SELECT COUNT(*) FROM " + COLLECTIONS_KEY + " AS c INNER JOIN " + COLLECTIONS_TEAMS_TABLE + " ON c." +
IDENTIFIER_KEY + " = " + COLLECTIONS_TEAMS_TABLE + "." + COLLECTION_IDENTIFIER_KEY +
_WHERE_ + COLLECTIONS_TEAMS_TABLE + "." + TEAM_IDENTIFIER_KEY + "=:" + TEAM_IDENTIFIER_KEY",
nativeQuery = true
)
Method to count the collections shared with the team
Return
the count of teams as long
Parameters
teamId
The identifier of the team from retrieve the collections