next#

DbNodes.next()#

Return the number of the next selected node.

You must first call DbNodes.first().

Returns:
int

The next selected node number. Returns 0 if there are no more nodes.

Examples

Call DbNodes.first() first.

>>> nodes.first()
1

Then get the next node.

>>> nodes.next()
2