Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
Re-export types for backward compatibility
func New ¶
New creates a new database instance from a URI string This is kept for backward compatibility and delegates to NewFromURI
func NewFromURI ¶
NewFromURI creates a new database instance from a URI string The URI is parsed by the appropriate driver's URI parser Supported formats depend on the registered drivers: - sqlite:///path/to/database.db - sqlite://:memory: - mysql://user:pass@host:port/database - postgresql://user:pass@host:port/database
type DeleteQuery ¶
type DeleteQuery = types.DeleteQuery
type InsertQuery ¶
type InsertQuery = types.InsertQuery
type ModelQuery ¶
type ModelQuery = types.ModelQuery
type SelectQuery ¶
type SelectQuery = types.SelectQuery
type Transaction ¶
type Transaction = types.Transaction
type UpdateQuery ¶
type UpdateQuery = types.UpdateQuery
Click to show internal directories.
Click to hide internal directories.