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) => {
107107 console . log ( serverInfo . address )
108108} )
109109
110+ driver . supportsMultiDb ( ) . then ( ( supported : boolean ) => {
111+ console . log ( `multi database is supported? => ${ supported } ` )
112+ } )
113+
110114const rxSession1 : RxSession = driver . rxSession ( )
111115const rxSession2 : RxSession = driver . rxSession ( { defaultAccessMode : READ } )
112116const rxSession3 : RxSession = driver . rxSession ( { defaultAccessMode : 'READ' } )
Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ declare interface Driver {
8686 close ( ) : Promise < void >
8787
8888 verifyConnectivity ( ) : Promise < ServerInfo >
89+
90+ supportsMultiDb ( ) : Promise < boolean >
8991}
9092
9193export {
You can’t perform that action at this time.
0 commit comments