loadHaMvccTable

Syntax

loadHaMvccTable(tableName)

Details

Loads and returns the handle of the HA MVCC table with the specified name.

Note:
  • loadHaMvccTable is the only way to use an HA MVCC table on non-Leader nodes.
  • Queries (SELECT operations) on an HA MVCC table can be executed on both Leader and Follower nodes, and it is recommended to run them on the Leader node.

Parameters

tableName is a STRING scalar indicating the name of the HA MVCC table to load.

Returns

Returns a table handle of HA MVCC table.

Examples

t = loadHaMvccTable("demoHaMvcc")

Related function: haMvccTable