@@ -42,7 +42,7 @@ https://medium.com/@go.jet/jet-5f3667efa0cc
4242 * [ WITH] ( https://github.com/go-jet/jet/wiki/WITH )
4343
4444 2 ) Auto-generated Data Model types - Go types mapped to database type (table, view or enum), used to store
45- result of database queries. Can be combined to create desired query result destination.
45+ result of database queries. Can be combined to create complex query result destination.
4646 3 ) Query execution with result mapping to arbitrary destination.
4747
4848## Getting Started
@@ -164,11 +164,11 @@ import (
164164` ` `
165165Let' s say we want to retrieve the list of all _actors_ that acted in _films_ longer than 180 minutes, _film language_ is ' English'
166166and _film category_ is not ' Action' .
167- ```java
167+ ```golang
168168stmt := SELECT(
169169 Actor.ActorID, Actor.FirstName, Actor.LastName, Actor.LastUpdate, // or just Actor.AllColumns
170170 Film.AllColumns,
171- Language.AllColumns,
171+ Language.AllColumns.Except(Language.LastUpdate),
172172 Category.AllColumns,
173173).FROM(
174174 Actor.
@@ -358,7 +358,7 @@ fmt.Println(string(jsonText))
358358 " Language" : {
359359 " LanguageID" : 1,
360360 " Name" : " English " ,
361- " LastUpdate" : " 2006-02-15T10:02:19Z "
361+ " LastUpdate" : " 0001-01-01T00:00:00Z "
362362 },
363363 " Categories" : [
364364 {
@@ -393,7 +393,7 @@ fmt.Println(string(jsonText))
393393 " Language" : {
394394 " LanguageID" : 1,
395395 " Name" : " English " ,
396- " LastUpdate" : " 2006-02-15T10:02:19Z "
396+ " LastUpdate" : " 0001-01-01T00:00:00Z "
397397 },
398398 " Categories" : [
399399 {
@@ -580,5 +580,5 @@ To run the tests, additional dependencies are required:
580580
581581# # License
582582
583- Copyright 2019-2021 Goran Bjelanovic
583+ Copyright 2019-2022 Goran Bjelanovic
584584Licensed under the Apache License, Version 2.0.
0 commit comments