package
0.5.1
Repository: https://github.com/nofeaturesonlybugs/sqlh.git
Documentation: pkg.go.dev

# Functions

Connect creates a sqlmock DB and configures it for the example.
NewModels returns a model.Models type.
ReturnArgs creates enough return args for the specified number of models in n.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

Models is a sample model.Database.
SentinalTime is a set time value used to generate times.

# Structs

Address is a simple model representing an address.
LogEntry is a model with no key fields defined in the Go struct.
Person is a simple model representing a person.
PersonAddress links a person to an address.
Relationship is a model with a composite primary key and no fields that auto update.
TimeGenerator uses SentinalTime to return deterministic time values.
Upsertable is a model that can use UPSERT style queries because it only has "key" and not "key,auto" columns.

# Type aliases

Example is a specific example.