Update Readme.md (#464)

This commit is contained in:
go-jet 2025-03-16 12:54:32 +01:00 committed by GitHub
parent a3fc2d8832
commit fb7c376ba5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 322 additions and 1976 deletions

View file

@ -13,6 +13,7 @@ import (
. "github.com/go-jet/jet/v2/examples/quick-start/.gen/jetdb/dvds/table"
. "github.com/go-jet/jet/v2/postgres"
"github.com/go-jet/jet/v2/examples/quick-start/.gen/jetdb/dvds/enum"
"github.com/go-jet/jet/v2/examples/quick-start/.gen/jetdb/dvds/model"
)
@ -48,7 +49,8 @@ func main() {
).WHERE(
Language.Name.EQ(Char(20)("English")).
AND(Category.Name.NOT_EQ(Text("Action"))).
AND(Film.Length.GT(Int(180))),
AND(Film.Length.GT(Int(180))).
AND(Film.Rating.NOT_EQ(enum.MpaaRating.R)),
).ORDER_BY(
Actor.ActorID.ASC(),
Film.FilmID.ASC(),