Questions of the records of GRC in SQL (0015-grc-query): the documents of an assessment made into relations, and a read-only SQL answered over them with the SQL language library: its guard judges that the text is one read and binds it to the catalog, its engine answers it. No database is made and no record can be changed by a question.
import { queryRecords } from"@intellectual-frontiers/grc/surfaces/query";
// queryRecords(records, "SELECT control, status FROM control_state WHERE freshness = 'stale'");
typeQueryOptions= {
/** The most rows of the answer (1000 where none is given). */readonlylimit?:number;
/** The values of the parameters (`?`). */readonlyparams?:readonlyValue[];
/** The instant of `control_state` (the newest recorded where none is given). */readonlyat?:string;
};