vz-api
1.0.0
ps
/
com.keygenqt.ps.service
/
ConnectsService
Connects
Service
class
ConnectsService
(
db
:
DatabaseMysql
)
Content copied to clipboard
Constructors
Functions
Constructors
Connects
Service
Link copied to clipboard
fun
ConnectsService
(
db
:
DatabaseMysql
)
Content copied to clipboard
Functions
get
All
Link copied to clipboard
suspend
fun
getAll
(
)
:
List
<
Connect
>
Content copied to clipboard
Get all models
get
By
Email
Link copied to clipboard
suspend
fun
getByEmail
(
email
:
String
?
)
:
Connect
?
Content copied to clipboard
Get by
Connects.email
insert
Link copied to clipboard
suspend
fun
insert
(
email
:
String
?
,
isSent
:
Boolean
?
,
locale
:
String
?
)
:
Connect
Content copied to clipboard
Add model
Connect
update
Link copied to clipboard
suspend
fun
update
(
id
:
Int
,
email
:
String
?
,
isSent
:
Boolean
?
,
locale
:
String
?
)
:
Connect
Content copied to clipboard
Update model
Connect