package
0.7.0
Repository: https://github.com/fs02/rel.git
Documentation: pkg.go.dev

# Functions

Aggregate tests count specifications.
CheckConstraint tests foreign key constraint specifications.
Delete tests delete specifications.
DeleteAll tests delete all specifications.
DeleteBelongsTo tests delete specifications.
DeleteHasMany tests delete specifications.
DeleteHasOne tests delete specifications.
ForeignKeyConstraint tests foreign key constraint specifications.
Insert tests specification for database insertion.
InsertAll tests insert multiple specifications.
InsertAllPartialCustomPrimary tests insert multiple specifications.
InsertBelongsTo tests specification for insertion with belongs to association.
InsertHasMany tests specification insertion with has many association.
InsertHasOne tests specification for insertion with has one association.
Inserts tests insert specifications.
Migrate specs.
PreloadBelongsTo tests specification for preloading belongs to association.
PreloadBelongsToSlice tests specification for preloading belongs to association from multiple records.
PreloadBelongsToWithQuery tests specification for preloading belongs to association.
PreloadHasMany tests specification for preloading has many association.
PreloadHasManySlice tests specification for preloading has many association from multiple records.
PreloadHasManyWithQuery tests specification for preloading has many association.
PreloadHasOne tests specification for preloading has one association.
PreloadHasOneSlice tests specification for preloading has one association from multiple records.
PreloadHasOneWithQuery tests specification for preloading has one association.
Query tests query specifications without join.
QueryJoin tests query specifications with join.
QueryNotFound tests query specifications when no result found.
Setup database for specs execution.
UniqueConstraint tests unique constraint specifications.
Update tests specification for updating a record.
UpdateAll tests update all specifications.
UpdateAtomic tests increment and decerement operation when updating a record.
UpdateBelongsToInsert tests specification for updating a record and inserting belongs to association.
UpdateBelongsToUpdate tests specification for updating a record and updating belongs to association.
UpdateHasManyInsert tests specification for updating a record and inserting has many association.
UpdateHasManyReplace tests specification for updating a record and replacing has many association.
UpdateHasManyUpdate tests specification for updating a record and updating has many association.
UpdateHasOneInsert tests specification for updating a record and inserting has many association.
UpdateHasOneReplace tests specification for updating a record and replacing has one association.
UpdateHasOneUpdate tests specification for updating a record and updating has one association.
UpdateNotFound tests specification for updating a not found record.
Updates tests update specifications.

# Constants

SkipDropColumn spec.
SkipRenameColumn spec.

# Structs

Address defines addresses schema.
Composite primaries example.
Extra defines extra schema.
User defines users schema.

# Type aliases

Flag for configuration.