flechette

Flechette API Reference

Top-Level Data Types Schema Table Column

Schema Object

A schema describes the contents of a table, including all column names and types as well as any associated metadata. A schema is represented as a standard JavaScript object with the following properties:

Field Object

A field describes the name, data type, and metadata for a collection of data values. A field may correspond to either a top-level column or nested data such as the content of a list, struct, or union type. A field is represented as a standard JavaScript object with the following properties:


# field(name, type[, nullable, metadata])

Create a new field instance for use in a schema or type definition. A field represents a field name, data type, and additional metadata. Fields are used to represent child types within nested types like List, Struct, and Union.