ConnectsService

class ConnectsService(db: DatabaseMysql)

Constructors

Link copied to clipboard
fun ConnectsService(db: DatabaseMysql)

Functions

Link copied to clipboard
suspend fun getAll(): List<Connect>

Get all models

Link copied to clipboard
suspend fun getByEmail(email: String?): Connect?
Link copied to clipboard
suspend fun insert(    email: String?,     isSent: Boolean?,     locale: String?): Connect

Add model Connect

Link copied to clipboard
suspend fun update(    id: Int,     email: String?,     isSent: Boolean?,     locale: String?): Connect

Update model Connect