File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,10 @@ driver.verifyConnectivity().then((serverInfo: ServerInfo) => {
107
107
console . log ( serverInfo . address )
108
108
} )
109
109
110
+ driver . supportsMultiDb ( ) . then ( ( supported : boolean ) => {
111
+ console . log ( `multi database is supported? => ${ supported } ` )
112
+ } )
113
+
110
114
const rxSession1 : RxSession = driver . rxSession ( )
111
115
const rxSession2 : RxSession = driver . rxSession ( { defaultAccessMode : READ } )
112
116
const rxSession3 : RxSession = driver . rxSession ( { defaultAccessMode : 'READ' } )
Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ declare interface Driver {
86
86
close ( ) : Promise < void >
87
87
88
88
verifyConnectivity ( ) : Promise < ServerInfo >
89
+
90
+ supportsMultiDb ( ) : Promise < boolean >
89
91
}
90
92
91
93
export {
You can’t perform that action at this time.
0 commit comments