rename( ) Query Function

Renames a field.

Parameters

Name Type Required Default Description
field string Yes The field name to remove
as string Yes The new name of the field

field is the unnamed parameter.

Examples

rename ‘badName’ to ‘goodName’

rename(field=badName, as=goodName)

rename ‘badName’ to ‘goodName’, using assignment syntax

goodName := rename(badName)