mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
1388ebd695
* toSqlWhereClause WIP * literal cases for SQL predicate generation * fill in the remaining Literals' sql-equal data * add other likely elements of the toSqlWhereClause fold * SQL ListMatch case * SQL VariantMatch case * partial SQL RecordSubset case * SQL Range case * comments on JSON encoding for DB * new relationship for the 3 paths in toSqlWhereClause Rec - conversion to Fragment is further delayed to allow mixed-mode matching of records * handle new Rec semantics in ListMatch (can't drop @> on the floor anymore) * compile RecordSubset to SQL * compile MapMatch to SQL * note optimization for record & map * optimize = when @> unavailable for record subsets * optimize range when degenerately = * don't discard the @> safety of empty test sets * unnested SQL optional matching * converting DB JSON to response body JSON * compiling nested optionals to SQL * add missing length check to ListMatch * remove unneeded parens from generated predicates * remove 1 = 1 leader from generated predicates * test the generated SQL from toSqlWhereClause * searchDb WIP * searchDb integrated * coerce party to text in selectContracts; log that query * fixing query * fixing scala formatting * removing unused functions * removing unused type alias * checking a that search returned exactly what we searched for, also checking that all contracts got stored in the DB * factor commonalities of MapMatch and RecordSubset * cleanup * cleanup * changelog CHANGELOG_BEGIN - [JSON API - Experimental] Queries will always run against Postgres if Postgres is configured. See `issue #3388 <https://github.com/digital-asset/daml/issues/3388>`_. CHANGELOG_END * fix record =-unsafe detection |
||
---|---|---|
.. | ||
src/main/scala/com/digitalasset/http/dbbackend | ||
BUILD.bazel |