docs / it.uniroma3.dbtree.spi.impl.connectors / SQLConnector / create

create

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.

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.