{"modulePath":"github.com/simontesar/jet","version":"v2.0.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package execution\n\n## Functions\n\n```go\nfunc Query(context context.Context, db DB, query string, args []interface{}, destinationPtr interface{}) error\n```\nQuery executes query with arguments over database connection with context and stores result into destination. Destination can be either pointer to struct or pointer to slice of structs.\n\n## Types\n\n```go\ntype DB interface {\n\tExec(query string, args ...interface{}) (sql.Result, error)\n\tExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)\n\tQuery(query string, args ...interface{}) (*sql.Rows, error)\n\tQueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)\n}\n```\nDB is common database interface used by jet execution\n\n","path":"github.com/simontesar/jet/execution","name":"execution","synopsis":"","isRedistributable":true}
