Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RowCountTest

import type { RowCountTest } from "https://googleapis.deno.dev/v1/monitoring:v3.ts";

A test that checks if the number of rows in the result set violates some threshold.

interface RowCountTest {
comparison?:
| "COMPARISON_UNSPECIFIED"
| "COMPARISON_GT"
| "COMPARISON_GE"
| "COMPARISON_LT"
| "COMPARISON_LE"
| "COMPARISON_EQ"
| "COMPARISON_NE";
threshold?: bigint;
}

§Properties

§
comparison?: "COMPARISON_UNSPECIFIED" | "COMPARISON_GT" | "COMPARISON_GE" | "COMPARISON_LT" | "COMPARISON_LE" | "COMPARISON_EQ" | "COMPARISON_NE"
[src]

Required. The comparison to apply between the number of rows returned by the query and the threshold.

§
threshold?: bigint
[src]

Required. The value against which to compare the row count.