joinMember

@Modifying(clearAutomatically = true)
@Query(value = "INSERT INTO " + PROJECT_MEMBERS_TABLE + " (" + IDENTIFIER_KEY + "," + MEMBER_IDENTIFIER_KEY + " )" + " VALUES (" + ":" + IDENTIFIER_KEY + "," + ":" + MEMBER_IDENTIFIER_KEY + ")", nativeQuery = true)
abstract fun joinMember(@Param(value = "id") projectId: String, @Param(value = "member_id") memberId: String)

Method to execute the query to join a new member in an existing Project

Parameters

projectId

: the identifier of the project

memberId

: the identifier of the member to join