Files
ent/examples/edgeindex
Ariel Mashraki 49101d7d05 entc/gen: change eager-loading empty values (#791)
When loading relations (using edger-loading) and there are no changes,
the response should be an empty slice (and not nil). Similar to the
way we handle simple queries (e.g. All()).

Closed #790
2020-09-22 20:22:30 +03:00
..

City-Street Unique Index Example

In this example, we have a City with many Streets, and we want to set the street name to be unique under each city.

Generate Assets

go generate ./...

Run Example

go test