Versions in this module Expand all Collapse all v0 v0.2.33 Jul 4, 2026 v0.2.31 Jun 29, 2026 Changes in this version + func DecodePropertyJSON(data []byte) (any, error) + func Scan(row []Cell, dest ...any) error + type ArrowChunk struct + Array unsafe.Pointer + Schema unsafe.Pointer + type ArrowColumn struct + Array unsafe.Pointer + Name string + Schema unsafe.Pointer + type ArrowColumnChunks struct + Chunks []ArrowChunk + Name string + type Cell struct + Bytes []byte + Float64 float64 + Int64 int64 + Type CellType + func (c Cell) AsBool() (bool, error) + func (c Cell) AsFloat64() (float64, error) + func (c Cell) AsInt64() (int64, error) + func (c Cell) AsProperty() (any, error) + func (c Cell) AsPropertyValue() (PropertyValue, error) + func (c Cell) AsString() (string, error) + func (c Cell) AssignTo(dest any) error + func (c Cell) DecodeJSON(out any) error + func (c Cell) String() string + func (c Cell) Value() any + type CellType int + const Bool + const Double + const Int64 + const JSON + const Null + const Text + func (t CellType) String() string + type DB struct + func Open(path string) (*DB, error) + func OpenInMemory() (*DB, error) + func OpenReadonly(path string) (*DB, error) + func (db *DB) BeginTx() (*Tx, error) + func (db *DB) BindArrow(logical string, columns []ArrowColumn) error + func (db *DB) BindArrowChunks(logical string, columns []ArrowColumnChunks) error + func (db *DB) BindArrowIPC(logical string, ipc []byte) error + func (db *DB) Close() error + func (db *DB) CurrentSchemaVersion() (int, error) + func (db *DB) Exec(cypher string, options ...QueryOptions) (*Stream, error) + func (db *DB) ExecOne(cypher string, options ...QueryOptions) (*Table, error) + func (db *DB) ExecOneWithParams(cypher string, params Params) (*Table, error) + func (db *DB) ExecWithParams(cypher string, params Params) (*Stream, error) + func (db *DB) Explain(cypher string) (*ExplainTrace, error) + func (db *DB) ExplainAnalyze(cypher string) (*ExplainTrace, error) + func (db *DB) Migrate() (MigrationReport, error) + func (db *DB) NeedsMigration() (bool, error) + func (db *DB) Query(cypher string, options ...QueryOptions) ([]map[string]any, error) + func (db *DB) QueryWithParams(cypher string, params Params) ([]map[string]any, error) + func (db *DB) RegisterVectorEmbedder(name string, embedder VectorEmbedder) error + func (db *DB) Run(cypher string, options ...QueryOptions) error + func (db *DB) RunWithParams(cypher string, params Params) error + func (db *DB) SchemaVersion() (int, error) + func (db *DB) Transaction(fn func(*Tx) error) error + type Error struct + Code int + Message string + func (e *Error) Error() string + type ExplainPlan struct + Meta ExplainPlanMeta + Steps []ExplainStep + type ExplainPlanMeta struct + Cypher string + PlanID string + StepCount int + type ExplainStatement struct + Meta ExplainStatementMeta + SQLitePlanDetails []string + type ExplainStatementMeta struct + Kind string + Note *string + SQL string + SQLitePlanCount int + StatementID string + type ExplainStep struct + Meta ExplainStepMeta + Statements []ExplainStatement + type ExplainStepMeta struct + GroupID string + Note *string + OpIndex string + Phase string + Source string + StatementCount int + StepNo int + Title string + type ExplainTrace struct + func (x *ExplainTrace) Close() error + func (x *ExplainTrace) CompactBytes() ([]byte, error) + func (x *ExplainTrace) CompactLen() (int, error) + func (x *ExplainTrace) CompactString() (string, error) + func (x *ExplainTrace) PlanCount() (int, error) + func (x *ExplainTrace) PlanMeta(planIdx int) (ExplainPlanMeta, error) + func (x *ExplainTrace) SQLitePlanCount(planIdx, stepIdx, stmtIdx int) (int, error) + func (x *ExplainTrace) SQLitePlanDetail(planIdx, stepIdx, stmtIdx, detailIdx int) (string, error) + func (x *ExplainTrace) SQLitePlanDetails(planIdx, stepIdx, stmtIdx int) ([]string, error) + func (x *ExplainTrace) Snapshot() ([]ExplainPlan, error) + func (x *ExplainTrace) StatementCount(planIdx, stepIdx int) (int, error) + func (x *ExplainTrace) StatementMeta(planIdx, stepIdx, stmtIdx int) (ExplainStatementMeta, error) + func (x *ExplainTrace) StepCount(planIdx int) (int, error) + func (x *ExplainTrace) StepMeta(planIdx, stepIdx int) (ExplainStepMeta, error) + func (x *ExplainTrace) WriteCompact(w io.Writer) (int64, error) + type GeoJSON struct + Coordinates any + Geometries []GeoJSON + Raw map[string]any + Type string + type MigrationReport struct + FromVersion int + Status MigrationStatus + Steps []string + ToVersion int + type MigrationStatus string + const MigrationAlreadyCurrent + const MigrationMigrated + type Node struct + ElementID string + Identity int64 + Labels []string + Properties map[string]PropertyValue + type Params map[string]any + type Path struct + Elements []PathElement + func (p Path) Nodes() []Node + func (p Path) Relationships() []Relationship + type PathElement struct + Node *Node + Relationship *Relationship + type PropertyValue struct + Bool bool + Bytes []byte + Display string + Float64 float64 + GeoJSON *GeoJSON + Int64 int64 + List []PropertyValue + Text string + Type PropertyValueType + Vector []float64 + func (v PropertyValue) GoValue() any + func (v PropertyValue) Kind() PropertyValueType + func (v PropertyValue) String() string + type PropertyValueType int + const PropertyBool + const PropertyBytes + const PropertyDate + const PropertyDouble + const PropertyDuration + const PropertyGeography + const PropertyGeometry + const PropertyInt64 + const PropertyList + const PropertyLocalDateTime + const PropertyLocalTime + const PropertyNull + const PropertyPoint + const PropertyString + const PropertyVector + const PropertyZonedDateTime + const PropertyZonedTime + func (t PropertyValueType) String() string + type QueryOptions struct + HasMaxResultRows bool + MaxResultRows int + Params Params + func MaxResultRows(n int) QueryOptions + func WithParams(params Params) QueryOptions + func (opts QueryOptions) WithMaxResultRows(n int) QueryOptions + func (opts QueryOptions) WithParam(name string, value any) QueryOptions + func (opts QueryOptions) WithParams(params Params) QueryOptions + type Relationship struct + ElementID string + End int64 + EndElementID string + Identity int64 + Properties map[string]PropertyValue + Start int64 + StartElementID string + Type string + type Rows struct + func (r *Rows) Close() error + func (r *Rows) Next() ([]Cell, error) + func (r *Rows) NextInto(dest ...any) (bool, error) + type Savepoint struct + func (sp *Savepoint) Close() error + func (sp *Savepoint) Release() error + func (sp *Savepoint) Rollback() error + type StorageValueType int + const StorageBlob + const StorageDouble + const StorageInt64 + const StorageNull + const StorageText + func (t StorageValueType) String() string + type Stream struct + func (s *Stream) Close() error + func (s *Stream) NextTable() (*Table, error) + type Table struct + func (t *Table) Close() error + func (t *Table) Collect() ([][]Cell, error) + func (t *Table) ColumnCount() (int, error) + func (t *Table) ColumnNames() ([]string, error) + func (t *Table) ForEachRow(fn func([]Cell) error) error + func (t *Table) Rows() (*Rows, error) + func (t *Table) ToArrowIPC() ([]byte, error) + func (t *Table) ToObjects() ([]map[string]any, error) + type Tx struct + func (tx *Tx) BindArrow(logical string, columns []ArrowColumn) error + func (tx *Tx) BindArrowChunks(logical string, columns []ArrowColumnChunks) error + func (tx *Tx) BindArrowIPC(logical string, ipc []byte) error + func (tx *Tx) Close() error + func (tx *Tx) Commit() error + func (tx *Tx) Exec(cypher string, options ...QueryOptions) (*TxStream, error) + func (tx *Tx) ExecOne(cypher string, options ...QueryOptions) (*Table, error) + func (tx *Tx) ExecOneWithParams(cypher string, params Params) (*Table, error) + func (tx *Tx) ExecWithParams(cypher string, params Params) (*TxStream, error) + func (tx *Tx) Explain(cypher string) (*ExplainTrace, error) + func (tx *Tx) ExplainAnalyze(cypher string) (*ExplainTrace, error) + func (tx *Tx) Query(cypher string, options ...QueryOptions) ([]map[string]any, error) + func (tx *Tx) QueryWithParams(cypher string, params Params) ([]map[string]any, error) + func (tx *Tx) ReleaseSavepoint(name string) error + func (tx *Tx) Rollback() error + func (tx *Tx) RollbackTo(name string) error + func (tx *Tx) Run(cypher string, options ...QueryOptions) error + func (tx *Tx) RunWithParams(cypher string, params Params) error + func (tx *Tx) Savepoint() (*Savepoint, error) + func (tx *Tx) SavepointNamed(name string) (*Savepoint, error) + type TxStream struct + func (s *TxStream) Close() error + func (s *TxStream) NextTable() (*Table, error) + type VectorEmbedder func(inputs []VectorEmbeddingInput) ([][]float32, error) + type VectorEmbeddingField struct + Display string + HasName bool + Name string + RawJSON []byte + RawStorage []byte + StorageType StorageValueType + Value PropertyValue + func (f VectorEmbeddingField) GoValue() any + type VectorEmbeddingInput struct + Dimensions int + EntityID int64 + EntityKind VectorEntityKind + Fields []VectorEmbeddingField + HasEntity bool + IndexName string + Purpose VectorEmbeddingPurpose + func (in VectorEmbeddingInput) Text() string + type VectorEmbeddingPurpose int + const VectorEmbeddingIndexEntity + const VectorEmbeddingQuery + func (p VectorEmbeddingPurpose) String() string + type VectorEntityKind int + const VectorEntityNode + const VectorEntityNone + const VectorEntityRelationship + func (k VectorEntityKind) String() string