FriendshipRequestSQLRepository

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val logger: Logger

Functions

Link copied to clipboard
fun close()

Close the connection to the database.

Link copied to clipboard
abstract fun connect(host: String, port: String, dbName: String, username: String, password: String)
Link copied to clipboard

Delete a friendship request by its ID.

Link copied to clipboard
open override fun findAll(): Array<FriendshipRequest>

Find all friendship requests.

Link copied to clipboard

Find a friendship request by its ID.

Link copied to clipboard

Get all friendship requests of a user.

Link copied to clipboard
open override fun save(entity: FriendshipRequest)

Save a friendship request.

Link copied to clipboard
open override fun update(entity: FriendshipRequest)

Update a friendship request.