Documentation
¶
Index ¶
- type ISession
- func (_m *ISession) Begin() error
- func (_m *ISession) Close() error
- func (_m *ISession) Commit() error
- func (_m *ISession) Delete(deleteObj interface{}) error
- func (_m *ISession) DeleteUUID(uuid string) error
- func (_m *ISession) Load(respObj interface{}, id string) error
- func (_m *ISession) LoadAll(respObj interface{}) error
- func (_m *ISession) LoadAllDepth(respObj interface{}, depth int) error
- func (_m *ISession) LoadAllDepthFilter(respObj interface{}, depth int, filter go_cypherdsl.ConditionOperator, ...) error
- func (_m *ISession) LoadAllDepthFilterPagination(respObj interface{}, depth int, filter go_cypherdsl.ConditionOperator, ...) error
- func (_m *ISession) LoadAllEdgeConstraint(respObj interface{}, endNodeType string, endNodeField string, ...) error
- func (_m *ISession) LoadDepth(respObj interface{}, id string, depth int) error
- func (_m *ISession) LoadDepthFilter(respObj interface{}, id string, depth int, ...) error
- func (_m *ISession) LoadDepthFilterPagination(respObj interface{}, id string, depth int, ...) error
- func (_m *ISession) PurgeDatabase() error
- func (_m *ISession) Query(query string, properties map[string]interface{}, respObj interface{}) error
- func (_m *ISession) QueryRaw(query string, properties map[string]interface{}) ([][]interface{}, error)
- func (_m *ISession) Rollback() error
- func (_m *ISession) RollbackWithError(err error) error
- func (_m *ISession) Save(saveObj interface{}) error
- func (_m *ISession) SaveDepth(saveObj interface{}, depth int) error
- type ITransaction
- type SessionV2
- func (_m *SessionV2) Begin(ctx context.Context) error
- func (_m *SessionV2) Close() error
- func (_m *SessionV2) Commit(ctx context.Context) error
- func (_m *SessionV2) Delete(ctx context.Context, deleteObj interface{}) error
- func (_m *SessionV2) DeleteUUID(ctx context.Context, uuid string) error
- func (_m *SessionV2) Load(ctx context.Context, respObj interface{}, id interface{}) error
- func (_m *SessionV2) LoadAll(ctx context.Context, respObj interface{}) error
- func (_m *SessionV2) LoadAllDepth(ctx context.Context, respObj interface{}, depth int) error
- func (_m *SessionV2) LoadAllDepthFilter(ctx context.Context, respObj interface{}, depth int, ...) error
- func (_m *SessionV2) LoadAllDepthFilterPagination(ctx context.Context, respObj interface{}, depth int, ...) error
- func (_m *SessionV2) LoadDepth(ctx context.Context, respObj interface{}, id interface{}, depth int) error
- func (_m *SessionV2) LoadDepthFilter(ctx context.Context, respObj interface{}, id interface{}, depth int, ...) error
- func (_m *SessionV2) LoadDepthFilterPagination(ctx context.Context, respObj interface{}, id interface{}, depth int, ...) error
- func (_m *SessionV2) ManagedTransaction(ctx context.Context, work gogm.TransactionWork) error
- func (_m *SessionV2) Query(ctx context.Context, query string, properties map[string]interface{}, ...) error
- func (_m *SessionV2) QueryRaw(ctx context.Context, query string, properties map[string]interface{}) ([][]interface{}, neo4j.ResultSummary, error)
- func (_m *SessionV2) Rollback(ctx context.Context) error
- func (_m *SessionV2) RollbackWithError(ctx context.Context, err error) error
- func (_m *SessionV2) Save(ctx context.Context, saveObj interface{}) error
- func (_m *SessionV2) SaveDepth(ctx context.Context, saveObj interface{}, depth int) error
- type TransactionV2
- func (_m *TransactionV2) Commit(ctx context.Context) error
- func (_m *TransactionV2) Delete(ctx context.Context, deleteObj interface{}) error
- func (_m *TransactionV2) DeleteUUID(ctx context.Context, uuid string) error
- func (_m *TransactionV2) Load(ctx context.Context, respObj interface{}, id interface{}) error
- func (_m *TransactionV2) LoadAll(ctx context.Context, respObj interface{}) error
- func (_m *TransactionV2) LoadAllDepth(ctx context.Context, respObj interface{}, depth int) error
- func (_m *TransactionV2) LoadAllDepthFilter(ctx context.Context, respObj interface{}, depth int, ...) error
- func (_m *TransactionV2) LoadAllDepthFilterPagination(ctx context.Context, respObj interface{}, depth int, ...) error
- func (_m *TransactionV2) LoadDepth(ctx context.Context, respObj interface{}, id interface{}, depth int) error
- func (_m *TransactionV2) LoadDepthFilter(ctx context.Context, respObj interface{}, id interface{}, depth int, ...) error
- func (_m *TransactionV2) LoadDepthFilterPagination(ctx context.Context, respObj interface{}, id interface{}, depth int, ...) error
- func (_m *TransactionV2) Query(ctx context.Context, query string, properties map[string]interface{}, ...) error
- func (_m *TransactionV2) QueryRaw(ctx context.Context, query string, properties map[string]interface{}) ([][]interface{}, neo4j.ResultSummary, error)
- func (_m *TransactionV2) Rollback(ctx context.Context) error
- func (_m *TransactionV2) RollbackWithError(ctx context.Context, err error) error
- func (_m *TransactionV2) Save(ctx context.Context, saveObj interface{}) error
- func (_m *TransactionV2) SaveDepth(ctx context.Context, saveObj interface{}, depth int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ISession ¶
ISession is an autogenerated mock type for the ISession type
func (*ISession) DeleteUUID ¶
DeleteUUID provides a mock function with given fields: uuid
func (*ISession) LoadAllDepth ¶
LoadAllDepth provides a mock function with given fields: respObj, depth
func (*ISession) LoadAllDepthFilter ¶
func (_m *ISession) LoadAllDepthFilter(respObj interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}) error
LoadAllDepthFilter provides a mock function with given fields: respObj, depth, filter, params
func (*ISession) LoadAllDepthFilterPagination ¶
func (_m *ISession) LoadAllDepthFilterPagination(respObj interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}, pagination *gogm.Pagination) error
LoadAllDepthFilterPagination provides a mock function with given fields: respObj, depth, filter, params, pagination
func (*ISession) LoadAllEdgeConstraint ¶
func (_m *ISession) LoadAllEdgeConstraint(respObj interface{}, endNodeType string, endNodeField string, edgeConstraint interface{}, minJumps int, maxJumps int, depth int, filter go_cypherdsl.ConditionOperator) error
LoadAllEdgeConstraint provides a mock function with given fields: respObj, endNodeType, endNodeField, edgeConstraint, minJumps, maxJumps, depth, filter
func (*ISession) LoadDepth ¶
LoadDepth provides a mock function with given fields: respObj, id, depth
func (*ISession) LoadDepthFilter ¶
func (_m *ISession) LoadDepthFilter(respObj interface{}, id string, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}) error
LoadDepthFilter provides a mock function with given fields: respObj, id, depth, filter, params
func (*ISession) LoadDepthFilterPagination ¶
func (_m *ISession) LoadDepthFilterPagination(respObj interface{}, id string, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}, pagination *gogm.Pagination) error
LoadDepthFilterPagination provides a mock function with given fields: respObj, id, depth, filter, params, pagination
func (*ISession) PurgeDatabase ¶
PurgeDatabase provides a mock function with given fields:
func (*ISession) Query ¶
func (_m *ISession) Query(query string, properties map[string]interface{}, respObj interface{}) error
Query provides a mock function with given fields: query, properties, respObj
func (*ISession) QueryRaw ¶
func (_m *ISession) QueryRaw(query string, properties map[string]interface{}) ([][]interface{}, error)
QueryRaw provides a mock function with given fields: query, properties
func (*ISession) RollbackWithError ¶
RollbackWithError provides a mock function with given fields: err
type ITransaction ¶
ITransaction is an autogenerated mock type for the ITransaction type
func (*ITransaction) Begin ¶
func (_m *ITransaction) Begin() error
Begin provides a mock function with given fields:
func (*ITransaction) Commit ¶
func (_m *ITransaction) Commit() error
Commit provides a mock function with given fields:
func (*ITransaction) Rollback ¶
func (_m *ITransaction) Rollback() error
Rollback provides a mock function with given fields:
func (*ITransaction) RollbackWithError ¶
func (_m *ITransaction) RollbackWithError(err error) error
RollbackWithError provides a mock function with given fields: err
type SessionV2 ¶
SessionV2 is an autogenerated mock type for the SessionV2 type
func (*SessionV2) DeleteUUID ¶
DeleteUUID provides a mock function with given fields: ctx, uuid
func (*SessionV2) LoadAllDepth ¶
LoadAllDepth provides a mock function with given fields: ctx, respObj, depth
func (*SessionV2) LoadAllDepthFilter ¶
func (_m *SessionV2) LoadAllDepthFilter(ctx context.Context, respObj interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}) error
LoadAllDepthFilter provides a mock function with given fields: ctx, respObj, depth, filter, params
func (*SessionV2) LoadAllDepthFilterPagination ¶
func (_m *SessionV2) LoadAllDepthFilterPagination(ctx context.Context, respObj interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}, pagination *gogm.Pagination) error
LoadAllDepthFilterPagination provides a mock function with given fields: ctx, respObj, depth, filter, params, pagination
func (*SessionV2) LoadDepth ¶
func (_m *SessionV2) LoadDepth(ctx context.Context, respObj interface{}, id interface{}, depth int) error
LoadDepth provides a mock function with given fields: ctx, respObj, id, depth
func (*SessionV2) LoadDepthFilter ¶
func (_m *SessionV2) LoadDepthFilter(ctx context.Context, respObj interface{}, id interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}) error
LoadDepthFilter provides a mock function with given fields: ctx, respObj, id, depth, filter, params
func (*SessionV2) LoadDepthFilterPagination ¶
func (_m *SessionV2) LoadDepthFilterPagination(ctx context.Context, respObj interface{}, id interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}, pagination *gogm.Pagination) error
LoadDepthFilterPagination provides a mock function with given fields: ctx, respObj, id, depth, filter, params, pagination
func (*SessionV2) ManagedTransaction ¶
ManagedTransaction provides a mock function with given fields: ctx, work
func (*SessionV2) Query ¶
func (_m *SessionV2) Query(ctx context.Context, query string, properties map[string]interface{}, respObj interface{}) error
Query provides a mock function with given fields: ctx, query, properties, respObj
func (*SessionV2) QueryRaw ¶
func (_m *SessionV2) QueryRaw(ctx context.Context, query string, properties map[string]interface{}) ([][]interface{}, neo4j.ResultSummary, error)
QueryRaw provides a mock function with given fields: ctx, query, properties
func (*SessionV2) RollbackWithError ¶
RollbackWithError provides a mock function with given fields: ctx, err
type TransactionV2 ¶
TransactionV2 is an autogenerated mock type for the TransactionV2 type
func (*TransactionV2) Commit ¶
func (_m *TransactionV2) Commit(ctx context.Context) error
Commit provides a mock function with given fields: ctx
func (*TransactionV2) Delete ¶
func (_m *TransactionV2) Delete(ctx context.Context, deleteObj interface{}) error
Delete provides a mock function with given fields: ctx, deleteObj
func (*TransactionV2) DeleteUUID ¶
func (_m *TransactionV2) DeleteUUID(ctx context.Context, uuid string) error
DeleteUUID provides a mock function with given fields: ctx, uuid
func (*TransactionV2) Load ¶
func (_m *TransactionV2) Load(ctx context.Context, respObj interface{}, id interface{}) error
Load provides a mock function with given fields: ctx, respObj, id
func (*TransactionV2) LoadAll ¶
func (_m *TransactionV2) LoadAll(ctx context.Context, respObj interface{}) error
LoadAll provides a mock function with given fields: ctx, respObj
func (*TransactionV2) LoadAllDepth ¶
func (_m *TransactionV2) LoadAllDepth(ctx context.Context, respObj interface{}, depth int) error
LoadAllDepth provides a mock function with given fields: ctx, respObj, depth
func (*TransactionV2) LoadAllDepthFilter ¶
func (_m *TransactionV2) LoadAllDepthFilter(ctx context.Context, respObj interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}) error
LoadAllDepthFilter provides a mock function with given fields: ctx, respObj, depth, filter, params
func (*TransactionV2) LoadAllDepthFilterPagination ¶
func (_m *TransactionV2) LoadAllDepthFilterPagination(ctx context.Context, respObj interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}, pagination *gogm.Pagination) error
LoadAllDepthFilterPagination provides a mock function with given fields: ctx, respObj, depth, filter, params, pagination
func (*TransactionV2) LoadDepth ¶
func (_m *TransactionV2) LoadDepth(ctx context.Context, respObj interface{}, id interface{}, depth int) error
LoadDepth provides a mock function with given fields: ctx, respObj, id, depth
func (*TransactionV2) LoadDepthFilter ¶
func (_m *TransactionV2) LoadDepthFilter(ctx context.Context, respObj interface{}, id interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}) error
LoadDepthFilter provides a mock function with given fields: ctx, respObj, id, depth, filter, params
func (*TransactionV2) LoadDepthFilterPagination ¶
func (_m *TransactionV2) LoadDepthFilterPagination(ctx context.Context, respObj interface{}, id interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}, pagination *gogm.Pagination) error
LoadDepthFilterPagination provides a mock function with given fields: ctx, respObj, id, depth, filter, params, pagination
func (*TransactionV2) Query ¶
func (_m *TransactionV2) Query(ctx context.Context, query string, properties map[string]interface{}, respObj interface{}) error
Query provides a mock function with given fields: ctx, query, properties, respObj
func (*TransactionV2) QueryRaw ¶
func (_m *TransactionV2) QueryRaw(ctx context.Context, query string, properties map[string]interface{}) ([][]interface{}, neo4j.ResultSummary, error)
QueryRaw provides a mock function with given fields: ctx, query, properties
func (*TransactionV2) Rollback ¶
func (_m *TransactionV2) Rollback(ctx context.Context) error
Rollback provides a mock function with given fields: ctx
func (*TransactionV2) RollbackWithError ¶
func (_m *TransactionV2) RollbackWithError(ctx context.Context, err error) error
RollbackWithError provides a mock function with given fields: ctx, err