ArangoDocuments

io.funkode.arangodb.ArangoDocuments
See theArangoDocuments companion object
class ArangoDocuments[Encoder[_], Decoder[_]](databaseName: DatabaseName, collectionName: CollectionName)(using arangoClient: ArangoClient[Encoder, Decoder])

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def count(transactionId: Option[TransactionId])(using Decoder[CollectionCount]): AIO[Long]
def create[T](documents: List[T], waitForSync: Boolean, returnNew: Boolean, returnOld: Boolean, silent: Boolean, overwrite: Boolean, transaction: Option[TransactionId])(using Encoder[List[T]], Decoder[List[Document[T]]]): AIO[List[Document[T]]]
def insert[T](document: T, waitForSync: Boolean, returnNew: Boolean, returnOld: Boolean, silent: Boolean, overwrite: Boolean, transaction: Option[TransactionId])(using Encoder[T], Decoder[Document[T]]): AIO[Document[T]]
def insertRaw(documentStream: ArangoStreamRaw, waitForSync: Boolean, returnNew: Boolean, returnOld: Boolean, silent: Boolean, overwrite: Boolean, transaction: Option[TransactionId]): ArangoStreamRaw
def remove[T, K](keys: List[K], waitForSync: Boolean, returnOld: Boolean, ignoreRevs: Boolean, transaction: Option[TransactionId])(using Encoder[List[K]], Decoder[List[Document[T]]]): AIO[List[Document[T]]]
def replace[T](documents: List[T], waitForSync: Boolean, ignoreRevs: Boolean, returnOld: Boolean, returnNew: Boolean, transaction: Option[TransactionId])(using Encoder[List[T]], Decoder[List[Document[T]]]): AIO[List[Document[T]]]
def update[T, P](patch: List[P], keepNull: Boolean, mergeObjects: Boolean, waitForSync: Boolean, ignoreRevs: Boolean, returnOld: Boolean, returnNew: Boolean, transaction: Option[TransactionId])(using Encoder[List[P]], Decoder[List[Document[T]]]): AIO[List[Document[T]]]

Concrete fields

val path: UrlPath