// A record found by the values of its columns — the journal's page for a day,// which a route names by its date rather than by its id.importCottonValuesimportFoundationextensionRecords {/// The first record of `table` whose columns hold every value in `filter`/// (column key → value); nil when no record does. The list narrows/// before it pages, so the first page's first record is the answer.publicfunc first(table: String, where filter: [String: RecordValue]) asyncthrows -> TableRecord? {tryawait list(table: table, project: nil, query: nil, page: 0, where: filter).records.first }/// The first record of `table` whose `column` holds `value`.publicfunc first(table: String, column: String, equals value: RecordValue) asyncthrows -> TableRecord? {tryawait first(table: table, where: [column: value]) }}