Class E200_SmokeSqlDump

Assembly: redb.Examples.dll

Dumps SQL generated for a representative set of LINQ queries that mirror
the cases in redb.Postgres/sql/v2-pvt/99_smoke_auto.sql.
Designed so that running it against the Pro provider produces a SQL log
that can be compared side-by-side with the SQL produced by free v2-pvt
(pvt_build_query_sql).
The example does not execute any data queries. It only invokes
for each
query and writes the resulting SQL to:

the console (RAISE-style banner per case);
a text file at Output/smoke_sql_dump.txt in the example output
directory, so it can be diffed with the v2-pvt INSPECT block.

[ExampleMeta("E200", "SQL dump for smoke cases (Pro vs PVT)", "Query", ExampleTier.Pro, 200, new string[] { "Sql", "Debug", "Smoke", "Pro", "Pvt" }, RelatedApis = new string[] { "IRedbQueryable.ToSqlStringAsync" })]
public class E200_SmokeSqlDump : ExampleBase

Inheritance

Object→ExampleBase→E200_SmokeSqlDump

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)