Commit b284c6a 1 parent f5b2a55 commit b284c6a Copy full SHA for b284c6a
File tree 1 file changed +2
-2
lines changed
packages/driver-mysql/src/utils/internal
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export const driverActions = createActions(
53
53
const query = context . api . query ( texts , ...values )
54
54
const cacheKey = group ( ( ) =>
55
55
// biome-ignore lint/style/noNonNullAssertion: <explanation>
56
- generateCacheKey ( context . api . $ client. config . database ! , query )
56
+ generateCacheKey ( context . options . client . database ! , query )
57
57
)
58
58
59
59
if ( cacheKey . isOk ( ) ) {
@@ -71,7 +71,7 @@ export const driverActions = createActions(
71
71
let list : string [ ] = [ ]
72
72
73
73
for await ( const keys of redis . scan (
74
- `${ context . api . $ client. config . database } #${ query . builder . cache . tableName } #*`
74
+ `${ context . options . client . database } #${ query . builder . cache . tableName } #*`
75
75
) ) {
76
76
for ( const key of keys ) {
77
77
if ( query . builder . operations . includes ( INSERT ) ) {
You can’t perform that action at this time.
0 commit comments