Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for pq (0.03 sec)

  1. 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
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  2. tests/go.mod

    module gorm.io/gorm/tests
    
    go 1.18
    
    require (
    	github.com/google/uuid v1.6.0
    	github.com/jinzhu/now v1.1.5
    	github.com/lib/pq v1.10.9
    	github.com/stretchr/testify v1.9.0
    	gorm.io/driver/mysql v1.5.7
    	gorm.io/driver/postgres v1.5.9
    	gorm.io/driver/sqlite v1.5.6
    	gorm.io/driver/sqlserver v1.5.3
    	gorm.io/gorm v1.25.12
    )
    
    require (
    	filippo.io/edwards25519 v1.1.0 // indirect
    	github.com/davecgh/go-spew v1.1.1 // indirect
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Sep 18 12:03:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. internal/event/target/postgresql.go

    import (
    	"context"
    	"database/sql"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/url"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    
    	_ "github.com/lib/pq" // Register postgres driver
    
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. cmd/bucket-replication-metrics_gen.go

    						return
    					}
    				default:
    					err = dc.Skip()
    					if err != nil {
    						err = msgp.WrapError(err, "Avg")
    						return
    					}
    				}
    			}
    		case "pq":
    			var zb0004 uint32
    			zb0004, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Max")
    				return
    			}
    			for zb0004 > 0 {
    				zb0004--
    				field, err = dc.ReadMapKeyPtr()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetOperationsTest.java

                        Set<String> set = newHashSet(elements);
                        Set<String> other = newHashSet("wz", "xq");
                        set.addAll(other);
                        other.add("pq");
                        return Sets.difference(set, other);
                      }
                    })
                .named("set - set")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                        Set<String> set = newHashSet(elements);
                        Set<String> other = newHashSet("wz", "xq");
                        set.addAll(other);
                        other.add("pq");
                        return Sets.difference(set, other);
                      }
                    })
                .named("set - set")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. go.mod

    	github.com/klauspost/cpuid/v2 v2.2.8
    	github.com/klauspost/filepathx v1.1.1
    	github.com/klauspost/pgzip v1.2.6
    	github.com/klauspost/readahead v1.4.0
    	github.com/klauspost/reedsolomon v1.12.4
    	github.com/lib/pq v1.10.9
    	github.com/lithammer/shortuuid/v4 v4.0.0
    	github.com/miekg/dns v1.1.62
    	github.com/minio/cli v1.24.2
    	github.com/minio/console v1.7.1
    	github.com/minio/csvparser v1.0.0
    	github.com/minio/dnscache v0.1.1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * is not guaranteed to traverse the elements of the MonitorBasedPriorityBlockingQueue in
     * any particular order. If you need ordered traversal, consider using {@code
     * Arrays.sort(pq.toArray())}. Also, method {@code drainTo} can be used to remove some or
     * all elements in priority order and place them in another collection.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. cmd/bucket-replication-metrics.go

    }
    
    // InQueueMetric holds queue stats for replication
    type InQueueMetric struct {
    	Curr QStat `json:"curr" msg:"cq"`
    	Avg  QStat `json:"avg" msg:"aq"`
    	Max  QStat `json:"max" msg:"pq"`
    }
    
    func (qm InQueueMetric) merge(o InQueueMetric) InQueueMetric {
    	return InQueueMetric{
    		Curr: qm.Curr.add(o.Curr),
    		Avg:  qm.Avg.add(o.Avg),
    		Max:  qm.Max.add(o.Max),
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. go.sum

    github.com/lestrrat-go/option v1.0.1/go.mod h1:5ZHFbivi4xwXxhxY9XHDe2FHo6/Z7WWmtT7T5nBBp3I=
    github.com/lib/pq v1.10.4/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
    github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
    github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
    github.com/lithammer/shortuuid/v4 v4.0.0 h1:QRbbVkfgNippHOS8PXDkti4NaWeyYfcBTHtw7k08o4c=
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top