Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbMoveField

Move a field to another location.

Declaration

CTDBRET ctdbMoveField(CTHANDLE Handle, NINT newIndex)

Description

ctdbMoveField() moves the field to a new location.

  • Handle [in] the field handle of the field that is being moved.
  • newIndex [in] Index of the new location of the field.

Returns

ctdbMoveField() returns CTDBRET_OK on success or c-treeDB API error code on failure.

See also

ctdbAllocTable(), ctdbAddField(), ctdbInsField(), ctdbDelField()

TOCIndex