Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ExpectedVars (0.08 sec)

  1. clause/expression_test.go

    			}
    
    			if !reflect.DeepEqual(result.ExpectedVars, stmt.Vars) {
    				t.Errorf("generated vars is not equal, expects %v, but got %v", result.ExpectedVars, stmt.Vars)
    			}
    		})
    	}
    }
    
    func TestExpression(t *testing.T) {
    	column := "column-name"
    	results := []struct {
    		Expressions  []clause.Expression
    		ExpectedVars []interface{}
    		Result       string
    	}{{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top