Skip to content

@saflib/drizzle


Variable: addressSchema ​

const addressSchema: object

Drizzle schema for Address type. Use this in your table definitions for address fields.

Type declaration ​

country ​

country: SQLiteTextBuilderInitial<"country", [string, ...string[]], undefined | number>>

formatted ​

formatted: SQLiteTextBuilderInitial<"formatted", [string, ...string[]], undefined | number>>

locality ​

locality: SQLiteTextBuilderInitial<"locality", [string, ...string[]], undefined | number>>

postal_code ​

postal_code: SQLiteTextBuilderInitial<"postal_code", [string, ...string[]], undefined | number>>

region ​

region: SQLiteTextBuilderInitial<"region", [string, ...string[]], undefined | number>>

street_address ​

street_address: SQLiteTextBuilderInitial<"street_address", [string, ...string[]], undefined | number>>