Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestExpr (0.16 sec)

  1. clause/expression_test.go

    package clause_test
    
    import (
    	"database/sql"
    	"fmt"
    	"reflect"
    	"sync"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    func TestExpr(t *testing.T) {
    	results := []struct {
    		SQL    string
    		Result string
    		Vars   []interface{}
    	}{{
    		SQL:    "create table ? (? ?, ? ?)",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Aug 10 05:34:33 GMT 2023
    - 8.4K bytes
    - Viewed (0)
Back to top