@@ -51,7 +51,7 @@ func ExampleConnection_Select() {
5151 conn .Replace (spaceNo , []interface {}{uint (1111 ), "hello" , "world" })
5252 conn .Replace (spaceNo , []interface {}{uint (1112 ), "hallo" , "werld" })
5353
54- resp , err := conn .Select (517 , 0 , 0 , 100 , tarantool .IterEq , []interface {}{uint (1111 )})
54+ resp , err := conn .Select (617 , 0 , 0 , 100 , tarantool .IterEq , []interface {}{uint (1111 )})
5555
5656 if err != nil {
5757 fmt .Printf ("error in select is %v" , err )
@@ -75,7 +75,7 @@ func ExampleConnection_SelectTyped() {
7575 defer conn .Close ()
7676 var res []Tuple
7777
78- err := conn .SelectTyped (517 , 0 , 0 , 100 , tarantool .IterEq , tarantool.IntKey {1111 }, & res )
78+ err := conn .SelectTyped (617 , 0 , 0 , 100 , tarantool .IterEq , tarantool.IntKey {1111 }, & res )
7979
8080 if err != nil {
8181 fmt .Printf ("error in select is %v" , err )
@@ -96,7 +96,7 @@ func ExampleConnection_SelectTyped() {
9696func ExampleConnection_SelectAsync () {
9797 conn := example_connect (opts )
9898 defer conn .Close ()
99- spaceNo := uint32 (517 )
99+ spaceNo := uint32 (617 )
100100
101101 conn .Insert (spaceNo , []interface {}{uint (16 ), "test" , "one" })
102102 conn .Insert (spaceNo , []interface {}{uint (17 ), "test" , "one" })
@@ -223,7 +223,7 @@ func ExampleSelectRequest() {
223223 conn := example_connect (opts )
224224 defer conn .Close ()
225225
226- req := tarantool .NewSelectRequest (517 ).
226+ req := tarantool .NewSelectRequest (617 ).
227227 Limit (100 ).
228228 Key (tarantool.IntKey {1111 })
229229 resp , err := conn .Do (req ).Get ()
@@ -253,7 +253,7 @@ func ExampleUpdateRequest() {
253253 conn := example_connect (opts )
254254 defer conn .Close ()
255255
256- req := tarantool .NewUpdateRequest (517 ).
256+ req := tarantool .NewUpdateRequest (617 ).
257257 Key (tarantool.IntKey {1111 }).
258258 Operations (tarantool .NewOperations ().Assign (1 , "bye" ))
259259 resp , err := conn .Do (req ).Get ()
@@ -284,7 +284,7 @@ func ExampleUpsertRequest() {
284284 defer conn .Close ()
285285
286286 var req tarantool.Request
287- req = tarantool .NewUpsertRequest (517 ).
287+ req = tarantool .NewUpsertRequest (617 ).
288288 Tuple ([]interface {}{uint (1113 ), "first" , "first" }).
289289 Operations (tarantool .NewOperations ().Assign (1 , "updated" ))
290290 resp , err := conn .Do (req ).Get ()
@@ -305,7 +305,7 @@ func ExampleUpsertRequest() {
305305 }
306306 fmt .Printf ("response is %#v\n " , resp .Data )
307307
308- req = tarantool .NewSelectRequest (517 ).
308+ req = tarantool .NewSelectRequest (617 ).
309309 Limit (100 ).
310310 Key (tarantool.IntKey {1113 })
311311 resp , err = conn .Do (req ).Get ()
@@ -830,12 +830,12 @@ func ExampleSchema() {
830830 }
831831
832832 space1 := schema .Spaces ["test" ]
833- space2 := schema .SpacesById [516 ]
833+ space2 := schema .SpacesById [616 ]
834834 fmt .Printf ("Space 1 ID %d %s\n " , space1 .Id , space1 .Name )
835835 fmt .Printf ("Space 2 ID %d %s\n " , space2 .Id , space2 .Name )
836836 // Output:
837- // Space 1 ID 517 test
838- // Space 2 ID 516 schematest
837+ // Space 1 ID 617 test
838+ // Space 2 ID 616 schematest
839839}
840840
841841// Example demonstrates how to retrieve information with space schema.
@@ -854,7 +854,7 @@ func ExampleSpace() {
854854
855855 // Access Space objects by name or ID.
856856 space1 := schema .Spaces ["test" ]
857- space2 := schema .SpacesById [516 ] // It's a map.
857+ space2 := schema .SpacesById [616 ] // It's a map.
858858 fmt .Printf ("Space 1 ID %d %s %s\n " , space1 .Id , space1 .Name , space1 .Engine )
859859 fmt .Printf ("Space 1 ID %d %t\n " , space1 .FieldsCount , space1 .Temporary )
860860
@@ -875,7 +875,7 @@ func ExampleSpace() {
875875 fmt .Printf ("SpaceField 2 %s %s\n " , spaceField2 .Name , spaceField2 .Type )
876876
877877 // Output:
878- // Space 1 ID 517 test memtx
878+ // Space 1 ID 617 test memtx
879879 // Space 1 ID 0 false
880880 // Index 0 primary
881881 // &{0 unsigned} &{2 string}
0 commit comments