UpsertBuilder

com.outr.arango.upsert.UpsertBuilder
case class UpsertBuilder[D <: Document[D], M <: DocumentModel[D]](collection: DocumentCollection[D, M], list: Option[() => (Ref, List[Json], List[QueryPart])], search: List[QueryPart], insert: Option[Json], upsert: Option[Upsert[D]], ignoreErrors: Boolean, keepNull: Boolean, mergeObjects: Boolean, waitForSync: Boolean, ignoreRevs: Boolean, exclusive: Boolean, indexHint: Option[String], forceIndexHint: Boolean)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def execute(): IO[Unit]
def toList: IO[List[UpsertResult[D]]]
def toQuery(includeReturn: Boolean): Query
def toStream: Stream[IO, UpsertResult[D]]
def withInsert(doc: D): UpsertBuilder[D, M]
def withInsert(json: Json): UpsertBuilder[D, M]
def withInsert(insert: String): UpsertBuilder[D, M]
def withListSearch[T <: Document[LazyRef(...)], TM <: DocumentModel[T]](collection: DocumentCollection[T, TM], list: List[T])(f: DocumentRef[T, TM] => List[Searchable]): UpsertBuilder[D, M]
def withListSearch(list: List[D])(f: DocumentRef[D, M] => List[Searchable]): UpsertBuilder[D, M]
def withOptions(ignoreErrors: Boolean, keepNull: Boolean, mergeObjects: Boolean, waitForSync: Boolean, ignoreRevs: Boolean, exclusive: Boolean, indexHint: Option[String], forceIndexHint: Boolean): UpsertBuilder[D, M]
def withReplace(doc: D): UpsertBuilder[D, M]
def withSearch(f: FieldAndValue[_]): UpsertBuilder[D, M]
def withSearch(entry: (String, QueryPart)): UpsertBuilder[D, M]
def withUpdate(doc: D): UpsertBuilder[D, M]
def withUpdate(json: Json): UpsertBuilder[D, M]
def withUpdate(update: String): UpsertBuilder[D, M]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product