Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDriverMissing indicates that Open has no constructor registered for the requested driver. ErrDriverMissing = errors.New("driver missing") )
Functions ¶
func Open ¶
Open invokes the registered driver constructor and returns ErrDriverMissing for an unknown name.
func Register ¶
func Register(driverName string, constructor DriverConstructor)
Register installs a constructor under driverName, replacing any previous registration. Call it during initialization before concurrent database opens.
Types ¶
type Config ¶
type Config struct {
// GraphQueryMemoryLimit bounds in-memory query results for drivers that enforce it.
GraphQueryMemoryLimit size.Size
// ConnectionString supplies the backend URI when the driver creates its connection pool.
ConnectionString string
// Pool supplies an existing PostgreSQL pool when supported by the selected driver.
Pool *pgxpool.Pool
}
Config supplies connection and memory settings to the selected driver constructor.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
benchmark
command
|
|
|
export
command
|
|
|
graphbench
command
|
|
|
plancorpus
command
|
|
|
retriever
command
|
|
|
cypher
|
|
|
internal
|
|
|
jsonutil
Package jsonutil provides shared JSON numeric conversions.
|
Package jsonutil provides shared JSON numeric conversions. |
|
v2
Package v2 contains the experimental fluent Cypher query builder.
|
Package v2 contains the experimental fluent Cypher query builder. |
|
Package retriever exports and imports Dawgs graph databases using the manifest-based retriever collection format.
|
Package retriever exports and imports Dawgs graph databases using the manifest-based retriever collection format. |
|
Package testutil provides reusable corpus, fixture, and baseline helpers for DAWGS tests and diagnostic commands.
|
Package testutil provides reusable corpus, fixture, and baseline helpers for DAWGS tests and diagnostic commands. |
|
tools
|
|
|
dawgrun/cmd/dawgrun
command
|
|
|
dawgrun/pkg/commands
Package commands holds all of the repl commands along with infrastructure types and helpers
|
Package commands holds all of the repl commands along with infrastructure types and helpers |
|
dawgrun/pkg/stubs
Package stubs has various bits and bobs to stub out internal behaviors
|
Package stubs has various bits and bobs to stub out internal behaviors |
|
metrics/cmd/dawgs-metrics
command
|
|
Click to show internal directories.
Click to hide internal directories.
