Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Klauser (0.17 sec)

  1. tests/query_test.go

    	type P struct{}
    	var p1 P
    	err := DB.Take(&p1, 1).Error
    	AssertEqual(t, err, gorm.ErrModelAccessibleFieldsRequired)
    
    	var p2 interface{}
    
    	err = DB.Table("ps").Clauses(clause.Eq{Column: clause.Column{
    		Table: clause.CurrentTable, Name: clause.PrimaryKey,
    	}, Value: 1}).Scan(&p2).Error
    	AssertEqual(t, err, gorm.ErrModelValueRequired)
    }
    
    func TestQueryScanToArray(t *testing.T) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  2. go.sum

    github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
    github.com/tklauser/go-sysconf v0.3.13 h1:GBUpcahXSpR2xN01jhkNAbTLRk2Yzgggk8IM08lq3r4=
    github.com/tklauser/go-sysconf v0.3.13/go.mod h1:zwleP4Q4OehZHGn4CYZDipCgg9usW5IJePewFCGVEa0=
    github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY=
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 84.2K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedWhenClause: {
    		Code:           "ParseExpectedWhenClause",
    		Description:    "Did not find the expected WHEN clause in the SQL expression. CASE is not supported.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseUnsupportedToken: {
    		Code:           "ParseUnsupportedToken",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
  4. tests/migrate_test.go

    	"database/sql"
    	"fmt"
    	"math/rand"
    	"os"
    	"reflect"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    	"gorm.io/driver/postgres"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/migrator"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestMigrate(t *testing.T) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top