Proven
Reference/Adapter interfaces

Query adapter

A data source queried for evidence.

This is the Go interface, with its comments, as go doc prints it.

package query // import "github.com/saphan-ai/proven/internal/query"

type Adapter interface {
	Query(ctx context.Context, sql string) (Result, error)
}
    Adapter runs one SQL statement. Live, the local file and Sample implement
    it. A store that speaks SQL calls Query with the sql form it built. An empty
    API key does not build a live client: Absent names Zetaris down and does not
    dial (ADR-0013 point 4a).