crash.software
Projects
Pull Requests
Issues
Builds
graphql-engine
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
graphql-engine
Files
🤬
Sign In
release/v2.11
ROOT
/
cli
/
migrate
/
database
/
driver_test.go
Search
History
175 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
mockDriver
url
:
string
TestRegisterTwice
(t *testing.T)
TestOpen
(t *testing.T)
*mockDriver
Open
(url string, isCmd bool, logger *logrus.Logger, hasuraOpts *HasuraOpts)
:
(Driver, error)
Close
()
:
error
UnLock
()
:
error
Run
(migration io.Reader, fileType, fileName string)
:
error
Lock
()
:
error
Scan
()
:
error
SetVersion
(version int64, dirty bool)
:
error
Version
()
:
(version int64, dirty bool, err error)
Drop
()
:
error
InsertVersion
(version int64)
:
error
RemoveVersion
(version int64)
:
error
First
()
:
(migrationVersion *MigrationVersion, ok bool)
Last
()
:
(*MigrationVersion, bool)
Next
(version uint64)
:
(migrationVersion *MigrationVersion, ok bool)
Prev
(version uint64)
:
(prevVersion *MigrationVersion, ok bool)
Read
(version uint64)
:
(ok bool)
PushToList
(migration io.Reader, fileType string, list *CustomList)
:
error
Query
(data interface{})
:
error
ResetQuery
()
Squash
(list *CustomList, ret chan<- interface{})
EnableCheckMetadataConsistency
(enabled bool)
ExportSchemaDump
(includeSchemas []string, excludeSchemas []string, sourceName string, sourceKind hasura.SourceKind)
:
([]byte, error)
GetSetting
(name string)
:
(value string, err error)
UpdateSetting
(name string, value string)
:
error
ApplySeed
(interface{})
:
error
ExportDataDump
(tableNames []string, sourceName string, sourceKind hasura.SourceKind)
:
([]byte, error)
All occurrences
Please wait...
Page is in error, reload to recover