Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 420 for SELECT (0.25 sec)

  1. tests/soft_delete_test.go

    		t.Fatalf("invalid sql generated, got %v", sql)
    	}
    
    	sql = DB.Session(&gorm.Session{DryRun: true}).Table("user u").Select("name").Find(&User{}).Statement.SQL.String()
    	if !regexp.MustCompile(`SELECT .name. FROM user u WHERE .u.\..deleted_at. IS NULL`).MatchString(sql) {
    		t.Errorf("Table with escape character, got %v", sql)
    	}
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Wed Feb 01 06:40:55 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            Element tocSection = document.body().select("section.topic").first().before("<section class='table-of-contents'/>").previousElementSibling();
            tocSection.append("<h2>Table Of Contents</h2>");
            Element toc = tocSection.append("<ul class='toc'/>").children().last();
    
            for (Element topic : document.body().select("h2")) {
                String name = topic.text();
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Jan 26 13:00:32 GMT 2023
    - 8.1K bytes
    - Viewed (0)
  3. clause/from_test.go

    func TestFrom(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}},
    			"SELECT * FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{
    				clause.Select{}, clause.From{
    					Tables: []clause.Table{{Name: "users"}},
    					Joins: []clause.Join{
    						{
    							Type:  clause.InnerJoin,
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Wed Jul 15 02:25:10 GMT 2020
    - 1.9K bytes
    - Viewed (0)
  4. tests/sql_builder_test.go

    	var age int64
    	if err := row.Scan(&age); err != nil {
    		t.Fatalf("Failed to scan age, got %v", err)
    	}
    
    	if age != 10 {
    		t.Errorf("Scan with Row, age expects: %v, got %v", user2.Age, age)
    	}
    
    	table := "gorm.users"
    	if DB.Dialector.Name() != "mysql" || isTiDB() {
    		table = "users" // other databases doesn't support select with `database.table`
    	}
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. src/main/webapp/css/admin/plugins/daterangepicker/daterangepicker.css

    .daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker...
    CSS
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 13 04:21:06 GMT 2020
    - 7.9K bytes
    - Viewed (0)
  6. tests/joins_test.go

    	if !regexp.MustCompile("SELECT .* FROM .users. left join pets.*join accounts.*").MatchString(stmt.SQL.String()) {
    		t.Errorf("joins should be ordered, but got %v", stmt.SQL.String())
    	}
    
    	iv := DB.Table(`table_invoices`).Select(`seller, SUM(total) as total, SUM(paid) as paid, SUM(balance) as balance`).Group(`seller`)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Wed Apr 26 14:19:32 GMT 2023
    - 13.5K bytes
    - Viewed (1)
  7. internal/s3select/sql/analysis.go

    		}
    	}
    }
    
    func (e *SelectExpression) analyze(s *Select) (result qProp) {
    	if e.All {
    		return qProp{isRowFunc: true}
    	}
    
    	for _, ex := range e.Expressions {
    		result.combine(ex.analyze(s))
    	}
    	return
    }
    
    func (e *AliasedExpression) analyze(s *Select) qProp {
    	return e.Expression.analyze(s)
    }
    
    func (e *Expression) analyze(s *Select) (result qProp) {
    	for _, ac := range e.And {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/orig/view/searchOptions.jsp

    			<la:option value="100">100</la:option>
    		</la:select>
    	</fieldset>
    	<fieldset class="form-group">
    		<legend><la:message key="labels.index_sort" /></legend>
    		<label for="contentSort"><la:message key="labels.index_sort" /></label>
    		<la:select property="sort" styleId="sortSearchOption"
    			styleClass="form-control">
    			<option value="">
    				<la:message key="labels.search_result_select_sort" />
    			</option>
    			<la:option value="score.desc">
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Wed Jul 17 08:19:53 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/searchOptions.jsp

    			<la:option value="100">100</la:option>
    		</la:select>
    	</fieldset>
    	<fieldset class="form-group">
    		<legend><la:message key="labels.index_sort" /></legend>
    		<label for="contentSort"><la:message key="labels.index_sort" /></label>
    		<la:select property="sort" styleId="sortSearchOption"
    			styleClass="form-control">
    			<option value="">
    				<la:message key="labels.search_result_select_sort" />
    			</option>
    			<la:option value="score.desc">
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Wed Jul 17 08:19:53 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  10. 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"
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Viewed (0)
Back to top