dbresolver icon indicating copy to clipboard operation
dbresolver copied to clipboard

Multiple databases, read-write splitting FOR GORM

Results 17 dbresolver issues
Sort by recently updated
recently updated
newest added

Bumps [gorm.io/driver/mysql](https://github.com/go-gorm/mysql) from 1.3.2 to 1.3.6. Commits 14d485e feat: custom type implements autoIncrement (#83) 7f572a3 Upgrade gorm.io/gorm eaced4b feat: CurrentSchema (#82) 93bd25e Merge pull request #81 from go-gorm/fix_shard_db aa2eef5 feat:...

dependencies
go

## Describe the feature I am using the Read/Write splitting feature. I would like to log for each query which DSN it goes to (or at least if it goes...

## GORM Playground Link https://github.com/go-gorm/playground/pull/1 ## Description 1、Stop the main library directly, and then switch between main and standby 2、log print: The MySQL server is running with the --read-only option...

## Describe the feature Currently only available policy is random. We need a fallback policy where incase first replica fails we need to fallback to second replica. Eg. Source: M1...

## Describe the feature add a option, when service operation change to write or read, call use function. ## Motivation I will be write trace log. I need know service...

Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.25.2 to 1.25.8. Commits 1b0aa80 Fix AutoMigrate for bool fields with default value e0c3be0 Fix tests in local 303de6e chore: optimize regEnLetterAndMidline regular (#6908) f7ebf04 fix(create): fix...

dependencies
go

## Describe the feature An option in the configuration (or something) to pass in (1) a function and (2) a timeout for a given DB, where the function is called...

## Your Question Is it possible to configure a different MaxConnectionCount for the sources and replica DBs used by the resolver? ## The document you expected this should be explained...

type:question

## Describe the feature type using not implements clause.Interface, I want to add the 'Name() string' method ``` // Name implements clause.Interface interface func (u using) Name() string { return...

I want to access informix, sql server, postres sql in the same database resolver. But informix is an old server and doesn't enable trasaction, I have to enable SkipDefaultTransaction in...

type:question