Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for clause (0.21 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 May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    	case BucketAlreadyExists:
    		apiErr = ErrBucketAlreadyExists
    	case BucketExists:
    		apiErr = ErrBucketAlreadyOwnedByYou
    	case ObjectNotFound:
    		apiErr = ErrNoSuchKey
    	case MethodNotAllowed:
    		apiErr = ErrMethodNotAllowed
    	case ObjectLocked:
    		apiErr = ErrObjectLocked
    	case InvalidVersionID:
    		apiErr = ErrInvalidVersionID
    	case VersionNotFound:
    		apiErr = ErrNoSuchVersion
    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)
  3. 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 May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

                Interface12.class,
                Interface1.class,
                Interface2.class,
                Class1.class,
                Object.class);
        makeUnmodifiable(types.interfaces().rawTypes())
            .containsExactly(
                Interface3.class,
                Interface12.class,
                Interface1.class,
                Interface2.class,
                Iterable.class);
        makeUnmodifiable(types.classes().rawTypes())
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          // instead of SafeAtomicHelper, so we annoyingly define these here
          try {
            helper =
                new SafeAtomicHelper(
                    newUpdater(Waiter.class, Thread.class, "thread"),
                    newUpdater(Waiter.class, Waiter.class, "next"),
                    newUpdater(AbstractFuture.class, Waiter.class, "waiters"),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

                Interface12.class,
                Interface1.class,
                Interface2.class,
                Class1.class,
                Object.class);
        makeUnmodifiable(types.interfaces().rawTypes())
            .containsExactly(
                Interface3.class,
                Interface12.class,
                Interface1.class,
                Interface2.class,
                Iterable.class);
        makeUnmodifiable(types.classes().rawTypes())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <ul>
       *   <li>Any {@link ExecutionException} has its <i>cause</i> wrapped in an {@code X} if the cause
       *       is a checked exception, an {@link UncheckedExecutionException} if the cause is a {@code
       *       RuntimeException}, or an {@link ExecutionError} if the cause is an {@code Error}.
       *   <li>Any {@link InterruptedException} is wrapped in an {@code X} (after restoring the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

        caused by looking up CA certificates. This is now fixed.
    
    
    ## Version 3.1.0
    
    _2016-02-06_
    
     *  New: WebSockets now defer some writes. This should improve performance for
        some applications.
     *  New: Override `equals()` and `hashCode()` in our new cookie class. This
        class now defines equality by value rather than by reference.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        while (!toClose.isEmpty()) {
          toClose.pop().close()
        }
        taskFaker.close()
    
        (filesystem.delegate as? FakeFileSystem)?.checkNoOpenFiles()
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun emptyCache(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        cache.close()
        assertJournalEquals()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    cause = e;
                }
                if (cause instanceof OpenSearchStatusException) {
                    final RestStatus status = ((OpenSearchStatusException) cause).status();
                    switch (status) {
                    case UNAUTHORIZED:
                        logger.warn("[{}] Unauthorized access: {}", i, SystemUtil.getSearchEngineHttpAddress(), cause);
                        break;
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
Back to top