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