Skip to content

Variable: RowsEventSchema

const RowsEventSchema: ZodObject<{ attachment_id: ZodOptional<ZodString>; conversation_id: ZodOptional<ZodString>; message_id: ZodOptional<ZodString>; previous_row_count: ZodOptional<ZodNumber>; row_count: ZodNumber; space_id: ZodString; statement_id: ZodOptional<ZodString>; type: ZodLiteral<"rows">; }, $strip>

Row count for a query attachment’s result changed (attachments[i].query.query_result_metadata.row_count). Fires on every change, including the initial undefined -> 0 and the later 0 -> N once the warehouse finishes execution.