Documentation
¶
Overview ¶
Package devapp provides linked SQLite application fixtures for developer MCP tests.
Index ¶
Constants ¶
View Source
const Module = "example.com/mcpapp"
View Source
const Package = "github.com/viant/datly/internal/testharness/devapp"
Variables ¶
View Source
var ReadDQL = "" /* 154-byte string literal not displayed */
View Source
var WriteDQL = ""
Functions ¶
func Configuration ¶
Configuration is production composition for the linked test executable, not a Build stub.
func NewWrite ¶
func NewWrite() h.Contract[WriteInput, WriteOutput]
Types ¶
type ReadOutput ¶
type ReadOutput struct {
Rows []*Record `parameter:"Rows,kind=output,in=view" view:"Read,table=records" sql:"SELECT id,name FROM records WHERE id=:ID" json:"rows"`
}
type WriteInput ¶
type WriteInput struct {
Record *Record `parameter:"Record,kind=body,in=data,required"`
}
type WriteOutput ¶
type WriteOutput struct {
Data *Record `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.