Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 64 for Claude (0.28 sec)

  1. tests/delete_test.go

    package tests_test
    
    import (
    	"errors"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestDelete(t *testing.T) {
    	users := []User{*GetUser("delete", Config{}), *GetUser("delete", Config{}), *GetUser("delete", Config{})}
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Errorf("errors happened when create: %v", err)
    	}
    
    	for _, user := range users {
    		if user.ID == 0 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 07:03:34 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  2. apache-maven/src/main/appended-resources/licenses/unrecognized-jline-3.25.1.txt

    Copyright (c) 2002-2023, the original author or authors.
    All rights reserved.
    
    https://opensource.org/licenses/BSD-3-Clause
    
    Redistribution and use in source and binary forms, with or
    without modification, are permitted provided that the following
    conditions are met:
    
    Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
    
    Plain Text
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Jan 29 15:51:24 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. common/config/license-lint.yml

    unrestricted_licenses:
      - Apache-2.0
      - CC-BY-3.0
      - ISC
      - AFL-2.1
      - AFL-3.0
      - Artistic-1.0
      - Artistic-2.0
      - Apache-1.1
      - BSD-1-Clause
      - BSD-2-Clause
      - BSD-3-Clause
      - 0BSD
      - FTL
      - LPL-1.02
      - MS-PL
      - MIT
      - NCSA
      - OpenSSL
      - PHP-3.0
      - TCP-wrappers
      - W3C
      - Xnet
      - Zlib
    
    reciprocal_licenses:
      - CC0-1.0
      - APSL-2.0
      - CDDL-1.0
      - CDDL-1.1
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 25 19:26:20 GMT 2023
    - 3.2K bytes
    - Viewed (1)
  4. tests/postgres_test.go

    package tests_test
    
    import (
    	"testing"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/lib/pq"
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestPostgresReturningIDWhichHasStringType(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		t.Skip()
    	}
    
    	type Yasuo struct {
    		ID        string `gorm:"default:gen_random_uuid()"`
    		Name      string
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Viewed (3)
  5. licenses/github.com/miekg/dns/LICENSE

    BSD 3-Clause License
    
    Copyright (c) 2009, The Go Authors. Extensions copyright (c) 2011, Miek Gieben. 
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
    
    1. Redistributions of source code must retain the above copyright notice, this
       list of conditions and the following disclaimer.
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 14 18:02:23 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  6. tests/joins_table_test.go

    package tests_test
    
    import (
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    )
    
    type Person struct {
    	ID        int
    	Name      string
    	Addresses []Address `gorm:"many2many:person_addresses;"`
    	DeletedAt gorm.DeletedAt
    }
    
    type Address struct {
    	ID   uint
    	Name string
    }
    
    type PersonAddress struct {
    	PersonID  int
    	AddressID int
    	CreatedAt time.Time
    	DeletedAt gorm.DeletedAt
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Sep 10 13:46:18 GMT 2020
    - 3.5K bytes
    - Viewed (0)
  7. errors.go

    	ErrInvalidTransaction = errors.New("invalid transaction")
    	// ErrNotImplemented not implemented
    	ErrNotImplemented = errors.New("not implemented")
    	// ErrMissingWhereClause missing where clause
    	ErrMissingWhereClause = errors.New("WHERE conditions required")
    	// ErrUnsupportedRelation unsupported relations
    	ErrUnsupportedRelation = errors.New("unsupported relations")
    	// ErrPrimaryKeyRequired primary keys required
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. internal/s3select/sql/utils.go

    	}
    	ps := jpath.String()
    	if idx := strings.LastIndex(ps, "."); idx >= 0 {
    		// Get last part of path string.
    		ps = ps[idx+1:]
    	}
    	return ps, true
    }
    
    // HasKeypath returns if the from clause has a key path -
    // e.g. S3object[*].id
    func (from *TableExpression) HasKeypath() bool {
    	return len(from.Table.PathExpr) > 1
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  9. LICENSES/vendor/github.com/karrick/godirwalk/LICENSE

    = vendor/github.com/karrick/godirwalk licensed under: =
    
    BSD 2-Clause License
    
    Copyright (c) 2017, Karrick McDermott
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
    
    * Redistributions of source code must retain the above copyright notice, this
      list of conditions and the following disclaimer.
    
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Fri May 08 04:49:00 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  10. apache-maven/src/main/appended-resources/licenses/unrecognized-jline-3.26.1.txt

    Copyright (c) 2002-2024, the original author or authors.
    All rights reserved.
    
    https://opensource.org/licenses/BSD-3-Clause
    
    Redistribution and use in source and binary forms, with or
    without modification, are permitted provided that the following
    conditions are met:
    
    Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
    
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 09:13:56 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top