toggle menu
Writeopia
common
switch theme
search in API
plugin:writeopia_persistence_sqldelight
/
io.writeopia.sdk.persistence.sqldelight.dao
/
DocumentSqlDao
Document
Sql
Dao
class
DocumentSqlDao
(
documentQueries
:
DocumentEntityQueries
,
storyStepQueries
:
StoryStepEntityQueries
)
Members
Constructors
Document
Sql
Dao
Link copied to clipboard
constructor
(
documentQueries
:
DocumentEntityQueries
,
storyStepQueries
:
StoryStepEntityQueries
)
Functions
delete
Document
By
Id
Link copied to clipboard
fun
deleteDocumentById
(
document
:
String
)
delete
Document
By
Ids
Link copied to clipboard
fun
deleteDocumentByIds
(
ids
:
Set
<
String
>
)
delete
Documents
By
User
Id
Link copied to clipboard
fun
deleteDocumentsByUserId
(
userId
:
String
)
insert
Document
Link copied to clipboard
fun
insertDocument
(
document
:
<Error class: unknown class>
)
insert
Documents
Link copied to clipboard
fun
insertDocuments
(
vararg
documents
:
<Error class: unknown class>
)
insert
Document
With
Content
Link copied to clipboard
fun
insertDocumentWithContent
(
document
:
<Error class: unknown class>
)
insert
Story
Step
Link copied to clipboard
fun
insertStoryStep
(
storyStep
:
<Error class: unknown class>
,
position
:
Long
,
documentId
:
String
)
load
Documents
With
Content
By
User
Id
Link copied to clipboard
fun
loadDocumentsWithContentByUserId
(
userId
:
String
)
:
List
<
<Error class: unknown class>
>
load
Document
With
Content
By
Id
Link copied to clipboard
fun
loadDocumentWithContentById
(
documentId
:
String
)
:
<Error class: unknown class>
?
load
Document
With
Content
By
Ids
Link copied to clipboard
fun
loadDocumentWithContentByIds
(
id
:
List
<
String
>
)
:
List
<
<Error class: unknown class>
>