TestPrune.Sql
0.1.0
dotnet add package TestPrune.Sql --version 0.1.0
NuGet\Install-Package TestPrune.Sql -Version 0.1.0
<PackageReference Include="TestPrune.Sql" Version="0.1.0" />
<PackageVersion Include="TestPrune.Sql" Version="0.1.0" />
<PackageReference Include="TestPrune.Sql" />
paket add TestPrune.Sql --version 0.1.0
#r "nuget: TestPrune.Sql, 0.1.0"
#:package TestPrune.Sql@0.1.0
#addin nuget:?package=TestPrune.Sql&version=0.1.0
#tool nuget:?package=TestPrune.Sql&version=0.1.0
TestPrune.Sql
Add explicit database shared-state dependencies to a TestPrune symbol graph.
When one symbol writes a table or column and another reads it, the extension
adds a SharedState edge so a writer change selects tests that reach the
reader.
dotnet add package TestPrune.Sql
Attribute discovery
Annotate module functions or values, then register AutoSqlExtension with the
host that invokes ITestPruneExtension after indexing:
open TestPrune.Sql
open TestPrune.Extensions
[<WritesTo("public.articles", "status")>]
let markComplete connection articleId =
// ...
[<ReadsFrom("public.articles", "status")>]
let listComplete connection =
// ...
let extension: ITestPruneExtension =
AutoSqlExtension() :> ITestPruneExtension
The one-argument attribute form uses the wildcard column *. A wildcard
matches every column on the same table. Use schema-qualified table identities
such as public.articles when facts must interoperate with
TestPrune.SqlHydra; equal table names in different schemas otherwise cannot
be distinguished.
For facts obtained outside source attributes, construct SqlFact values and
register SqlExtension(facts) instead. Registration is explicit: merely
referencing this package does not run either extension. The host persists the
edges returned by AnalyzeEdges alongside the core graph.
See the repository's integration guide for extension-host wiring and edge direction.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- FSharp.Compiler.Service (>= 43.12.400)
- FSharp.Core (>= 10.1.400)
- Microsoft.Data.Sqlite (>= 10.0.11)
- SQLitePCLRaw.lib.e_sqlite3 (>= 3.53.3)
- TestPrune.Core (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TestPrune.Sql:
| Package | Downloads |
|---|---|
|
TestPrune.SqlHydra
SqlHydra integration for TestPrune — automatic SQL coupling detection from typed queries |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 109 | 8/28/2026 |