docs / it.uniroma3.dbtree.spi / Connector / update

update

abstract fun update(nodes: Collection<NodeTransfer>): Unit (source)

Update a batch of nodes of the database.

Should be executed within a transaction. The batch of nodes will be passed as NodeTransfers instances, so that both (I) their primary keys and (II) the new contexts will be provided.

Parameters

nodes - the batch to be updated.

abstract fun update(node: NodeTransfer): Unit (source)

Update a node of the database.

Should be executed within a transaction. The node will be passed as NodeTransfer instance, so that both (I) its primary keys and (II) the new context will be provided.

Parameters

node - the node to be updated.