Remove anys
This commit is contained in:
parent
0eddc1a00e
commit
8c0e7a12d6
|
@ -355,7 +355,7 @@ async function execute(
|
|||
ExecuteQueryRequest,
|
||||
ExecuteV2QueryResponse | ExecuteV1QueryResponse
|
||||
>,
|
||||
opts: any = { rowsOnly: false, isAutomation: false }
|
||||
opts = { rowsOnly: false, isAutomation: false }
|
||||
) {
|
||||
const db = context.getAppDB()
|
||||
|
||||
|
@ -416,7 +416,7 @@ export async function executeV1(
|
|||
export async function executeV2(
|
||||
ctx: UserCtx<ExecuteQueryRequest, ExecuteV2QueryResponse>
|
||||
) {
|
||||
return execute(ctx, { rowsOnly: false })
|
||||
return execute(ctx, { rowsOnly: false, isAutomation: false })
|
||||
}
|
||||
|
||||
export async function executeV2AsAutomation(
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import { Document } from "../document"
|
||||
import { Row } from "./row"
|
||||
|
||||
export interface QuerySchema {
|
||||
name?: string
|
||||
|
@ -29,7 +30,7 @@ export interface QueryParameter {
|
|||
}
|
||||
|
||||
export interface QueryResponse {
|
||||
rows: any[]
|
||||
rows: Row[]
|
||||
keys: string[]
|
||||
info: any
|
||||
extra: any
|
||||
|
|
Loading…
Reference in New Issue