ksonbin / in.zeromod.ksonbin.api / Collection
Collection
class Collection
Constructors
<init> | Collection(ksonbin: Ksonbin ) |
Functions
create | Using the COLLECTIONS CREATE API, you can CREATE Collections to group the records which later, can be fetched usin the Query Builder.suspend fun create(name: String ): CollectionCreate |
update | Using the COLLECTIONS UPDATE API, you can UPDATE Collections name for now. We might add more meta data to the Collections which you can use the Update API for.suspend fun update(collectionID: String , name: String , schemaDocId: String ? = null, removeSchemaDoc: Boolean = false): CollectionUpdate |