Documentation
¶
Overview ¶
Package mysql is the MySQL dialect for the Dygo sql module, on go-sql-driver/mysql:
Imports: []*dygo.Module{mysql.Module()} // reads DATABASE_URL
DATABASE_URL is a mysql://user:pass@host:3306/db?param=value URL or the driver's own DSN (user:pass@tcp(host:3306)/db). parseTime=true is added unless the URL sets it, so DATETIME columns scan into time.Time, and so is clientFoundRows=true, so an UPDATE reports the rows it matched rather than only those it changed (an update with unchanged values is not "not found").
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.