Interface QueryReturn<T>

Query 查询返回值类型

interface QueryReturn {
    data?: T[];
    error?: any;
    schema?: EntitySchema;
    stats?: {
        statements?: string[];
        [key: string]: any;
    };
    status?: "OK" | "ERROR";
}

Type Parameters

  • T

Properties

data?: T[]
error?: any
schema?: EntitySchema
stats?: {
    statements?: string[];
    [key: string]: any;
}

Type declaration

  • [key: string]: any
  • Optional statements?: string[]
status?: "OK" | "ERROR"

Generated using TypeDoc