crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
v0.41.7
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
testdata.go
Search
History
600 lines
|
ISO-8859-1
|
19 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
IdTag
FirstNameTag
LastNameTag
IsMarriedTag
AgeTag
emptyTag
RatingTag
UuidTag
NumEpisodesTag
firstUnusedTag
EpisodeIdTag
EpNameTag
EpAirDateTag
EpRatingTag
AppCharacterTag
AppEpTag
AppCommentsTag
HomerId
MargeId
BartId
LisaId
MoeId
BarneyId
PeopleTestSchema
PeopleTableName
EpisodesTestSchema
EpisodesTableName
AppearancesTestSchema
AppearancesTableName
createPeopleTestSchema
()
:
schema.Schema
createEpisodesTestSchema
()
:
schema.Schema
createAppearancesTestSchema
()
:
schema.Schema
newColumnWithTypeInfo
(name string, tag uint64, info typeinfo.TypeInfo, partOfPk bool, constraints ...schema.ColConstraint)
:
schema.Column
NewPeopleRow
(id int, first, last string, isMarried bool, age int, rating float64)
:
row.Row
newEpsRow2
(id int, name string, airdate string, rating float64)
:
row.Row
DatetimeStrToTimestamp
(datetime string)
:
time.Time
newAppsRow2
(charId, epId int, comment string)
:
row.Row
NewPeopleRowWithOptionalFields
(id int, first, last string, isMarried bool, age int, rating float64, uid uuid.UUID, numEpisodes uint64)
:
row.Row
Homer
Marge
Bart
Lisa
Moe
Barney
AllPeopleRows
Ep1
Ep2
Ep3
Ep4
AllEpsRows
app1
app2
app3
app4
app5
app6
app7
app8
app9
app10
AllAppsRows
Rs
(rows ...row.Row)
:
[]row.Row
MutateRow
(sch schema.Schema, r row.Row, tagsAndVals ...interface{})
:
row.Row
GetAllRows
(root *doltdb.RootValue, tableName string)
:
([]row.Row, error)
CreateTestDatabase
(dEnv *env.DoltEnv, t *testing.T)
CreateEmptyTestDatabase
(dEnv *env.DoltEnv, t *testing.T)
idColTag0TypeUUID
firstColTag1TypeStr
lastColTag2TypeStr
addrColTag3TypeStr
ageColTag4TypeInt
ageColTag5TypeUint
DiffSchema
TableWithHistoryName
InitialHistSch
AddAddrAt3HistSch
AddAgeAt4HistSch
ReaddAgeAt5HistSch
TableUpdate
NewSch
:
schema.Schema
NewRowData
:
*types.Map
RowUpdates
:
[]row.Row
HistoryNode
Branch
:
string
CommitMsg
:
string
Updates
:
map[string]TableUpdate
Children
:
[]HistoryNode
CreateHistory
(ctx context.Context, dEnv *env.DoltEnv, t *testing.T)
:
[]HistoryNode
UpdateTables
(t *testing.T, ctx context.Context, root *doltdb.RootValue, tblUpdates map[string]TableUpdate)
:
*doltdb.RootValue
InitializeWithHistory
(t *testing.T, ctx context.Context, dEnv *env.DoltEnv, historyNodes ...HistoryNode)
processNode
(t *testing.T, ctx context.Context, dEnv *env.DoltEnv, node HistoryNode, parent *doltdb.Commit)
All occurrences
Please wait...
Page is in error, reload to recover