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.go
Search
History
156 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrLocked
NilVersion
:
int64
driversMu
:
sync.RWMutex
drivers
Driver
Open
(url string, isCMD bool, logger *log.Logger, hasuraOpts *HasuraOpts)
:
(Driver, error)
Close
()
:
error
Scan
()
:
error
Lock
()
:
error
UnLock
()
:
error
Run
(migration io.Reader, fileType, fileName string)
:
error
ResetQuery
()
InsertVersion
(version int64)
:
error
SetVersion
(version int64, dirty bool)
:
error
RemoveVersion
(version int64)
:
error
Version
()
:
(version int64, dirty bool, err error)
First
()
:
(migrationVersion *MigrationVersion, ok bool)
Last
()
:
(*MigrationVersion, bool)
Prev
(version uint64)
:
(prevVersion *MigrationVersion, ok bool)
Next
(version uint64)
:
(migrationVersion *MigrationVersion, ok bool)
Read
(version uint64)
:
(ok bool)
PushToList
(migration io.Reader, fileType string, list *CustomList)
:
error
Squash
(list *CustomList, ret chan<- interface{})
MetadataDriver
SchemaDriver
SettingsDriver
Query
(data interface{})
:
error
Open
(url string, isCMD bool, logger *log.Logger, hasuraOpts *HasuraOpts)
:
(Driver, error)
Register
(name string, driver Driver)
All occurrences
Please wait...
Page is in error, reload to recover