hasDefault property

bool hasDefault
final

Whether the column has a default value which is set by the database.

This is often the case for columns like 'id', 'created_at', ...

This is not required for nullable types.

Setting this makes the value optional in the SupaInsert.

Implementation

final bool hasDefault;