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

create

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

Insert a batch of new nodes into the database.

Should be executed within a transaction.

Parameters

nodes - the node's list to be created.

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

Insert a node into the database.

Should be executed within a transaction.

Parameters

node - the node to be inserted.