@@ -6,47 +6,47 @@ internal sealed partial class MultiGroupDatabase
66{
77 // Geo Async
88 public Task < bool > GeoAddAsync ( RedisKey key , double longitude , double latitude , RedisValue member , CommandFlags flags = CommandFlags . None )
9- => GetDatabase ( ) . GeoAddAsync ( key , longitude , latitude , member , flags ) ;
9+ => GetActiveDatabase ( ) . GeoAddAsync ( key , longitude , latitude , member , flags ) ;
1010
1111 public Task < bool > GeoAddAsync ( RedisKey key , GeoEntry value , CommandFlags flags = CommandFlags . None )
12- => GetDatabase ( ) . GeoAddAsync ( key , value , flags ) ;
12+ => GetActiveDatabase ( ) . GeoAddAsync ( key , value , flags ) ;
1313
1414 public Task < long > GeoAddAsync ( RedisKey key , GeoEntry [ ] values , CommandFlags flags = CommandFlags . None )
15- => GetDatabase ( ) . GeoAddAsync ( key , values , flags ) ;
15+ => GetActiveDatabase ( ) . GeoAddAsync ( key , values , flags ) ;
1616
1717 public Task < bool > GeoRemoveAsync ( RedisKey key , RedisValue member , CommandFlags flags = CommandFlags . None )
18- => GetDatabase ( ) . GeoRemoveAsync ( key , member , flags ) ;
18+ => GetActiveDatabase ( ) . GeoRemoveAsync ( key , member , flags ) ;
1919
2020 public Task < double ? > GeoDistanceAsync ( RedisKey key , RedisValue member1 , RedisValue member2 , GeoUnit unit = GeoUnit . Meters , CommandFlags flags = CommandFlags . None )
21- => GetDatabase ( ) . GeoDistanceAsync ( key , member1 , member2 , unit , flags ) ;
21+ => GetActiveDatabase ( ) . GeoDistanceAsync ( key , member1 , member2 , unit , flags ) ;
2222
2323 public Task < string ? [ ] > GeoHashAsync ( RedisKey key , RedisValue [ ] members , CommandFlags flags = CommandFlags . None )
24- => GetDatabase ( ) . GeoHashAsync ( key , members , flags ) ;
24+ => GetActiveDatabase ( ) . GeoHashAsync ( key , members , flags ) ;
2525
2626 public Task < string ? > GeoHashAsync ( RedisKey key , RedisValue member , CommandFlags flags = CommandFlags . None )
27- => GetDatabase ( ) . GeoHashAsync ( key , member , flags ) ;
27+ => GetActiveDatabase ( ) . GeoHashAsync ( key , member , flags ) ;
2828
2929 public Task < GeoPosition ? [ ] > GeoPositionAsync ( RedisKey key , RedisValue [ ] members , CommandFlags flags = CommandFlags . None )
30- => GetDatabase ( ) . GeoPositionAsync ( key , members , flags ) ;
30+ => GetActiveDatabase ( ) . GeoPositionAsync ( key , members , flags ) ;
3131
3232 public Task < GeoPosition ? > GeoPositionAsync ( RedisKey key , RedisValue member , CommandFlags flags = CommandFlags . None )
33- => GetDatabase ( ) . GeoPositionAsync ( key , member , flags ) ;
33+ => GetActiveDatabase ( ) . GeoPositionAsync ( key , member , flags ) ;
3434
3535 public Task < GeoRadiusResult [ ] > GeoRadiusAsync ( RedisKey key , RedisValue member , double radius , GeoUnit unit = GeoUnit . Meters , int count = - 1 , Order ? order = null , GeoRadiusOptions options = GeoRadiusOptions . Default , CommandFlags flags = CommandFlags . None )
36- => GetDatabase ( ) . GeoRadiusAsync ( key , member , radius , unit , count , order , options , flags ) ;
36+ => GetActiveDatabase ( ) . GeoRadiusAsync ( key , member , radius , unit , count , order , options , flags ) ;
3737
3838 public Task < GeoRadiusResult [ ] > GeoRadiusAsync ( RedisKey key , double longitude , double latitude , double radius , GeoUnit unit = GeoUnit . Meters , int count = - 1 , Order ? order = null , GeoRadiusOptions options = GeoRadiusOptions . Default , CommandFlags flags = CommandFlags . None )
39- => GetDatabase ( ) . GeoRadiusAsync ( key , longitude , latitude , radius , unit , count , order , options , flags ) ;
39+ => GetActiveDatabase ( ) . GeoRadiusAsync ( key , longitude , latitude , radius , unit , count , order , options , flags ) ;
4040
4141 public Task < GeoRadiusResult [ ] > GeoSearchAsync ( RedisKey key , RedisValue member , GeoSearchShape shape , int count = - 1 , bool demandClosest = true , Order ? order = null , GeoRadiusOptions options = GeoRadiusOptions . Default , CommandFlags flags = CommandFlags . None )
42- => GetDatabase ( ) . GeoSearchAsync ( key , member , shape , count , demandClosest , order , options , flags ) ;
42+ => GetActiveDatabase ( ) . GeoSearchAsync ( key , member , shape , count , demandClosest , order , options , flags ) ;
4343
4444 public Task < GeoRadiusResult [ ] > GeoSearchAsync ( RedisKey key , double longitude , double latitude , GeoSearchShape shape , int count = - 1 , bool demandClosest = true , Order ? order = null , GeoRadiusOptions options = GeoRadiusOptions . Default , CommandFlags flags = CommandFlags . None )
45- => GetDatabase ( ) . GeoSearchAsync ( key , longitude , latitude , shape , count , demandClosest , order , options , flags ) ;
45+ => GetActiveDatabase ( ) . GeoSearchAsync ( key , longitude , latitude , shape , count , demandClosest , order , options , flags ) ;
4646
4747 public Task < long > GeoSearchAndStoreAsync ( RedisKey sourceKey , RedisKey destinationKey , RedisValue member , GeoSearchShape shape , int count = - 1 , bool demandClosest = true , Order ? order = null , bool storeDistances = false , CommandFlags flags = CommandFlags . None )
48- => GetDatabase ( ) . GeoSearchAndStoreAsync ( sourceKey , destinationKey , member , shape , count , demandClosest , order , storeDistances , flags ) ;
48+ => GetActiveDatabase ( ) . GeoSearchAndStoreAsync ( sourceKey , destinationKey , member , shape , count , demandClosest , order , storeDistances , flags ) ;
4949
5050 public Task < long > GeoSearchAndStoreAsync ( RedisKey sourceKey , RedisKey destinationKey , double longitude , double latitude , GeoSearchShape shape , int count = - 1 , bool demandClosest = true , Order ? order = null , bool storeDistances = false , CommandFlags flags = CommandFlags . None )
51- => GetDatabase ( ) . GeoSearchAndStoreAsync ( sourceKey , destinationKey , longitude , latitude , shape , count , demandClosest , order , storeDistances , flags ) ;
51+ => GetActiveDatabase ( ) . GeoSearchAndStoreAsync ( sourceKey , destinationKey , longitude , latitude , shape , count , demandClosest , order , storeDistances , flags ) ;
5252}
0 commit comments