()
| 32 | }; |
| 33 | |
| 34 | const handleExecuteQuery = () => { |
| 35 | if (!currentConnectionCtx) { |
| 36 | toast.error("Please select a connection first"); |
| 37 | return; |
| 38 | } |
| 39 | |
| 40 | queryStore.setContext({ |
| 41 | connection: currentConnectionCtx.connection, |
| 42 | database: currentConnectionCtx.database, |
| 43 | messageId: messageId, |
| 44 | statement: value, |
| 45 | }); |
| 46 | queryStore.toggleDrawer(true); |
| 47 | }; |
| 48 | |
| 49 | return ( |
| 50 | <div className="w-full max-w-full relative font-sans text-[16px]"> |
nothing calls this directly
no outgoing calls
no test coverage detected