Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,598 for pselect (0.29 sec)

  1. clause/where_test.go

    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    				Exprs: []clause.Expression{clause.Or(clause.Neq{Column: "name", Value: "jinzhu"}), clause.Eq{Column: clause.PrimaryColumn, Value: "1"}, clause.Gt{Column: "age", Value: 18}},
    			}},
    			"SELECT * FROM `users` WHERE `users`.`id` = ? OR `name` <> ? AND `age` > ?",
    			[]interface{}{"1", "jinzhu", 18},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestSelectionTest.groovy

            when:
            select('one.dot', 'has.two.dots', 'ModuleName')
    
            then:
            noExceptionThrown()
        }
    
        def "converts second dot into slash"() {
            expect:
            select('one.dot', 'has.two.dots').includedTests == ['one.dot', 'has.two/dots']
        }
    
        def "ignores wildcard to select all tests from module"() {
            expect:
            select('ModuleName.*').includedTests == ['ModuleName.*']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. tests/table_test.go

    	}
    
    	r = dryDB.Table("gorm.user").Select("name").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT .name. FROM .gorm.\\..user. WHERE .user.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Select("name").Find(&UserWithTable{}).Statement
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Mar 09 09:31:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. 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",
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. clause/locking_test.go

    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthUpdate}},
    			"SELECT * FROM `users` FOR UPDATE", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthShare, Table: clause.Table{Name: clause.CurrentTable}}},
    			"SELECT * FROM `users` FOR SHARE OF `users`", nil,
    		},
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:32:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go

    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
    
    func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
    	var ts *Timespec
    	if timeout != nil {
    		ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
    	}
    	return pselect6(nfd, r, w, e, ts, nil)
    }
    
    //sys	sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. clause/select_test.go

    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}},
    			"SELECT * FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{
    				Columns: []clause.Column{clause.PrimaryColumn},
    			}, clause.From{}},
    			"SELECT `users`.`id` FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{
    				Columns: []clause.Column{clause.PrimaryColumn},
    			}, clause.Select{
    				Columns: []clause.Column{{Name: "name"}},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 18 01:06:43 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/report/HtmlTestResultsFixture.groovy

            def testDiv = content.select("div#tests")
            assert testDiv != null
            def counter = testDiv.select("div.counter")
            assert counter != null
            assert counter.text() == tests as String
        }
    
        void assertHasFailures(int tests) {
            def testDiv = content.select("div#failures")
            assert testDiv != null
            def counter = testDiv.select("div.counter")
            assert counter != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitInteractiveIntegrationTest.groovy

            // Select default project name
            ConcurrentTestUtil.poll(60) {
                assert handle.standardOutput.contains(projectNamePrompt)
            }
            handle.stdinPipe.write(TextUtil.platformLineSeparator.bytes)
    
            // Select 'Single project'
            ConcurrentTestUtil.poll(60) {
                assert handle.standardOutput.contains("Select application structure:")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. platforms/software/reporting/src/test/groovy/org/gradle/api/reporting/internal/BuildDashboardGeneratorSpec.groovy

                    ], outputFile)
    
            then:
            outputHtml.select('h1').text() == 'Build reports'
            with outputHtml.select('ul li'), {
                size() == 5
                select('a[href=report.html]').text() == 'a'
                select('a[href=inner/otherReport.html]').text() == 'b'
                select('span[class=unavailable]').text() == 'c'
                select('a[href=htmlContent/index.html]').text() == 'd'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top