Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ScopeUser2 (0.05 sec)

  1. tests/sql_builder_test.go

    	).Or(
    		DB.Where("pizza = ?", "hawaiian").Where("size = ?", "xlarge"),
    	).Find(&Pizza{}).Statement
    
    	execStmt2 := dryRunDB.Exec(`WHERE name in ? OR (pizza = ? AND size = ?)`, []string{"ScopeUser1", "ScopeUser2"}, "hawaiian", "xlarge").Statement
    
    	result2 := DB.Dialector.Explain(stmt2.SQL.String(), stmt2.Vars...)
    	expects2 := DB.Dialector.Explain(execStmt2.SQL.String(), execStmt2.Vars...)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top