Create a LIST data type
The data type of list elements
The element type of the list (e.g., STRING, INTEGER, another LIST, etc.)
Compare this DataType with another DataType for equality
The DataType to compare with
true if the types are equal, false otherwise
Serialize a value for storage based on this DataType
The value to serialize
The serialized value
Get the SQL string representation based on the dialect
DuckDB/PostgreSQL: native elementType[] syntax
Other dialects: falls back to JSON or TEXT
Optionaldialect: stringGet the element type
Base class for all data types