🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators maxLength
This page was created by Lars.olofsson on 2020-06-29. Last edited by Edgar on 2025-08-31.

Returns the maximum length allowed for a string attribute.

Useful for cutting a string to fit an attribute and avoiding SQL errors when saving.

See: String attribute overflowing