Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNamedExpr (0.04 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Nov 04 07:04:52 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top