Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNamedExpr (0.07 sec)

  1. clause/expression_test.go

    			if stmt.SQL.String() != result.Result {
    				t.Errorf("generated SQL is not equal, expects %v, but got %v", result.Result, stmt.SQL.String())
    			}
    		})
    	}
    }
    
    func TestNamedExpr(t *testing.T) {
    	type Base struct {
    		Name2 string
    	}
    
    	type NamedArgument struct {
    		Name1 string
    		Base
    	}
    
    	results := []struct {
    		SQL          string
    		Result       string
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top