Documentation ¶
Overview ¶
Package specs defines test specifications for grimoire's adapter.
Index ¶
- func Aggregate(t *testing.T, repo grimoire.Repo)
- func CheckConstraint(t *testing.T, repo grimoire.Repo)
- func Delete(t *testing.T, repo grimoire.Repo)
- func ForeignKeyConstraint(t *testing.T, repo grimoire.Repo)
- func Insert(t *testing.T, repo grimoire.Repo)
- func InsertAll(t *testing.T, repo grimoire.Repo)
- func InsertSet(t *testing.T, repo grimoire.Repo)
- func Preload(t *testing.T, repo grimoire.Repo)
- func Query(t *testing.T, repo grimoire.Repo)
- func QueryJoin(t *testing.T, repo grimoire.Repo)
- func QueryNotFound(t *testing.T, repo grimoire.Repo)
- func SaveInsert(t *testing.T, repo grimoire.Repo)
- func SaveInsertAll(t *testing.T, repo grimoire.Repo)
- func SaveUpdate(t *testing.T, repo grimoire.Repo)
- func Transaction(t *testing.T, repo grimoire.Repo)
- func UniqueConstraint(t *testing.T, repo grimoire.Repo)
- func Update(t *testing.T, repo grimoire.Repo)
- func UpdateSet(t *testing.T, repo grimoire.Repo)
- func UpdateWhere(t *testing.T, repo grimoire.Repo)
- type Address
- type Extra
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckConstraint ¶
CheckConstraint tests foreign key constraint specifications.
func ForeignKeyConstraint ¶
ForeignKeyConstraint tests foreign key constraint specifications.
func QueryNotFound ¶
QueryNotFound tests query specifications when no result found.
func SaveInsert ¶
SaveInsert tests insert specifications.
func SaveInsertAll ¶
SaveInsertAll tests insert multiple recors specifications.
func SaveUpdate ¶
SaveUpdate tests update specifications.
func Transaction ¶
Transaction tests insert specifications.
func UniqueConstraint ¶
UniqueConstraint tests unique constraint specifications.
Types ¶
Click to show internal directories.
Click to hide internal directories.