Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNamedExpr (0.1 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 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