- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 1,249 for Select (0.07 seconds)
-
tests/group_by_test.go
var total int if err := DB.Model(&User{}).Select("name, sum(age)").Where("name = ?", "groupby").Group("name").Row().Scan(&name, &total); err != nil { t.Errorf("no error should happen, but got %v", err) } if name != "groupby" || total != 60 { t.Errorf("name should be groupby, but got %v, total should be 60, but got %v", name, total) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 3.3K bytes - Click Count (0) -
internal/s3select/sql/parser_test.go
p := participle.MustBuild( &Select{}, participle.Lexer(sqlLexer), participle.CaseInsensitive("Keyword"), ) s := Select{} cases := []string{ "select * from s3object", "select a, b from s3object s", "select a, b from s3object as s", "select a, b from s3object as s where a = 1", "select a, b from s3object s where a = 1", "select a, b from s3object where a = 1", }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.2K bytes - Click Count (0) -
tensorflow/c/BUILD
":tf_tstring", "//tensorflow/core:protos_all_cc", "//tensorflow/core/platform:tstring", "@com_google_absl//absl/status", "@xla//xla/tsl/c:tsl_status", ] + select({ "//tensorflow:with_xla_support": [ "//tensorflow/compiler/jit", "//tensorflow/compiler/tf2xla:xla_compiler", ], "//conditions:default": [], }) + if_tensorrt([Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 17 18:49:14 GMT 2026 - 30.3K bytes - Click Count (0) -
internal/s3select/select_test.go
mango`, }, { name: "Select column simplest", query: `select qty from S3Object`, wantResult: `1 3`, }, { name: "Select column with table name prefix", query: `select S3Object.qty from S3Object`, wantResult: `1 3`, }, { name: "Select column without table alias", query: `select qty from S3Object s`, wantResult: `1 3`, },Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 76.1K bytes - Click Count (0) -
internal/s3select/sql/statement.go
var selectAST Select err = SQLParser.ParseString(s, &selectAST) if err != nil { err = errQueryParseFailure(err) return stmt, err } // Check if select is "SELECT s.* from S3Object s" if !selectAST.Expression.All && len(selectAST.Expression.Expressions) == 1 && len(selectAST.Expression.Expressions[0].Expression.And) == 1 &&
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9K bytes - Click Count (0) -
.github/workflows/cleanup-stale-performance-data.yml
-h${{ env.DB_HOST }} \ -e ' USE results; DELETE FROM testOperation WHERE testExecution IN (SELECT id FROM testExecution WHERE startTime < NOW() - INTERVAL 365 DAY); DELETE FROM testExecution WHERE startTime < NOW() - INTERVAL 365 DAY; SELECT "results.testExecution count:" as database_table, COUNT(*) as stale_records FROM testExecution WHERE startTime < NOW() - INTERVAL 365 DAY;Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 24 22:05:21 GMT 2026 - 2.6K bytes - Click Count (0) -
tests/gorm_test.go
t.Fatalf("first expects: %v, got %v", u1, got) } results = DB.Select("id, name").Find(&got) if results.Error != nil { t.Fatalf("errors happened on first: %v", results.Error) } else if results.RowsAffected != 1 { t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected) } else if got.ID != u1.ID { t.Fatalf("select expects: %v, got %v", u1, got) } u1.Name = "jinzhu"
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jun 01 07:22:21 GMT 2023 - 3.3K bytes - Click Count (0) -
internal/grid/muxserver.go
func (m *muxServer) handleInbound(c *Connection, inbound <-chan []byte, handlerIn chan<- []byte) { for { select { case <-m.ctx.Done(): return case in, ok := <-inbound: if !ok { return } select { case <-m.ctx.Done(): return case handlerIn <- in: m.send(message{Op: OpUnblockClMux, MuxID: m.ID, Flags: c.baseFlags}) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 9.7K bytes - Click Count (0) -
tensorflow/BUILD
cc_library( name = "grpc", visibility = ["//visibility:public"], deps = select({ "//conditions:default": ["@com_github_grpc_grpc//:grpc"], }), ) cc_library( name = "grpc++", visibility = ["//visibility:public"], deps = select({ "//conditions:default": ["@com_github_grpc_grpc//:grpc++"], }), ) # copybara:comment_endCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Mar 24 21:00:18 GMT 2026 - 53.1K bytes - Click Count (0) -
docs/select/README.md
# Select API Quickstart Guide [](https://slack.min.io) Traditional retrieval of objects is always as whole entities, i.e GetObject for a 5 GiB object, will always return 5 GiB of data. S3 Select API allows us to retrieve a subset of data by using simple SQL expressions. By using Select API to retrieve only the data needed by the application, drastic performance improvements can be achieved.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 6.6K bytes - Click Count (0)