GORM provides official support for
You can add support for additional databases by creating a new dialect. When creating a new dialect, you must implement the dialect interface.
Some databases may be compatible with the
postgres dialect, in which case you could just use the dialect for those databases.
Certain dialects of SQL ship with their own custom, non-standard column types, such as the
jsonb column in PostgreSQL. GORM supports loading several of these types, as listed in the following sections.
GORM supports loading the following PostgreSQL exclusive column types: - jsonb - hstore
Given the following Model definition:
You may use the model like so:
password := "0654857340"