| Home | Libraries | People | FAQ | More

#### Formattable concept

A type `T` is `Formattable` if it can be passed as a format argument to SQL formatting functions, like `format_sql` or `format_context_base::append_value`.

Formally, a type `T` satisfies `Formattable` if any of the following are true:

- It satisfies `WritableField`. This includes scalar types and optionals.
- It is `identifier`.
- The class `formatter` has been specialized for `T`.

For a reference table on built-in formattable types, see this section.