Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 517 for Selects (0.28 seconds)

  1. tests/scan_test.go

    		Name string
    		Age  int
    	}
    
    	var res result
    	DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Scan(&res)
    	if res.ID != user3.ID || res.Name != user3.Name || res.Age != int(user3.Age) {
    		t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user3)
    	}
    
    	var resPointer *result
    	if err := DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Scan(&resPointer).Error; err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 12 10:57:36 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  2. 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,
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jul 15 02:25:10 GMT 2020
    - 1.9K bytes
    - Click Count (0)
  3. ADDING_NEW_LANGUAGE.md

    2. **Browser header**: `Accept-Language` header
    3. **Fallback**: English (from `fess_label.properties` and `fess_message.properties`)
    
    ### Document Language Detection
    
    During crawling and indexing, Fess:
    
    1. Detects language from document content using Apache Tika
    2. Validates against `supported.languages` list
    3. Creates language-specific fields (e.g., `content_ja`, `title_en`, `content_sv`)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 11:36:30 GMT 2025
    - 10.4K bytes
    - Click Count (1)
  4. internal/grid/muxclient.go

    				continue
    			}
    			msg.Seq++
    		}
    	}
    
    	if errState {
    		// Drain requests.
    		for {
    			select {
    			case r, ok := <-requests:
    				if !ok {
    					return
    				}
    				PutByteBuffer(r)
    			default:
    				return
    			}
    		}
    	}
    
    	for !errState {
    		select {
    		case <-m.ctx.Done():
    			if debugPrint {
    				fmt.Println("Client sending disconnect to mux", m.MuxID)
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. tests/generics_test.go

    	if err := gorm.G[User](DB).Select("name").Create(ctx, &selectOnly); err != nil {
    		t.Fatalf("failed to create with Select, got error: %v", err)
    	}
    
    	if selectOnly.ID == 0 {
    		t.Fatalf("no primary key found for select-only user: %v", selectOnly)
    	}
    
    	if stored, err := gorm.G[User](DB).Where("id = ?", selectOnly.ID).First(ctx); err != nil {
    		t.Fatalf("failed to reload select-only user, got error: %v", err)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 30 08:11:14 GMT 2025
    - 34.9K bytes
    - Click Count (0)
  6. .teamcity/README.md

    # CI Pipeline Configuration
    
    ## Open & import the project
    
    In your IDEA, `File` - `Open`, select `.teamcity/pom.xml`, `import as project`, and you'll have a Maven project.
    
    ## Project structure
    
    Mostly a standard Maven project structure. The entry point `settings.kts` defines the TeamCity project.
    
    There are 3 subprojects in the TeamCity project hierarchy: `Check` for Gradle builds, `Promotion` for releasing Gradle versions, `Util` for miscellaneous utilities.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 06 23:02:25 GMT 2024
    - 4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/debugging.md

    * "Add configuration...".
    * Select "Python"
    * Run the debugger with the option "`Python: Current File (Integrated Terminal)`".
    
    It will then start the server with your **FastAPI** code, stop at your breakpoints, etc.
    
    Here's how it might look:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    If you use Pycharm, you can:
    
    * Open the "Run" menu.
    * Select the option "Debug...".
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  8. 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)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Feb 01 06:40:55 GMT 2023
    - 5.7K bytes
    - Click Count (0)
  9. src/main/webapp/js/login.js

    $(function() {
      var $firstInput = $('input[type="text"],select,textarea', ".login-box,section.content").first();
      var $errorInput = $(".form-group .has-error").first().next("input,select,textarea");
    
      if ($errorInput.length) {
        $errorInput.focus();
      } else {
        $firstInput.focus();
      }
    
      $("section.content input").on("keypress", function(e) {
        if (e.which === 13) {
          var $submitButton = $("input#submit, button#submit");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:12:50 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. tests/named_argument_test.go

    	var result5 NamedUser
    	if err := DB.Raw("SELECT * FROM named_users WHERE (name1 = @name AND name3 = @name) AND name2 = @name2", map[string]interface{}{"name": "jinzhu-new", "name2": "jinzhu-new2"}).Find(&result5).Error; err != nil {
    		t.Errorf("failed to update with named arg")
    	}
    
    	AssertEqual(t, result5, namedUser)
    
    	var result6 NamedUser
    	if err := DB.Raw(`SELECT * FROM named_users WHERE (name1 = @name
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 21 11:50:00 GMT 2021
    - 2.7K bytes
    - Click Count (0)
Back to Top