Versions in this module Expand all Collapse all v4 v4.14.2 Mar 31, 2021 Changes in this version + const DefaultMigrationsLabel + var DefaultMultiStatementMaxSize = 10 * 1 << 20 + var ErrNilConfig = fmt.Errorf("no config") + var StatementSeparator = []byte(";") + func WithInstance(driver neo4j.Driver, config *Config) (database.Driver, error) + type Config struct + MigrationsLabel string + MultiStatement bool + MultiStatementMaxSize int + type MigrationRecord struct + Dirty bool + Version int + type Neo4j struct + func (n *Neo4j) Close() error + func (n *Neo4j) Drop() (err error) + func (n *Neo4j) Lock() error + func (n *Neo4j) Open(url string) (database.Driver, error) + func (n *Neo4j) Run(migration io.Reader) (err error) + func (n *Neo4j) SetVersion(version int, dirty bool) (err error) + func (n *Neo4j) Unlock() error + func (n *Neo4j) Version() (version int, dirty bool, err error)