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
88ec14b1
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
testutil.go
Search
History
621 lines
|
ISO-8859-1
|
17 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ExecuteSql
(dEnv *env.DoltEnv, root *doltdb.RootValue, statements string)
:
(*doltdb.RootValue, error)
NewTestSQLCtx
(ctx context.Context)
:
*sql.Context
NewTestSQLCtxWithProvider
(ctx context.Context, pro dsess.DoltDatabaseProvider)
:
*sql.Context
NewTestEngine
(dEnv *env.DoltEnv, ctx context.Context, db Database, root *doltdb.RootValue)
:
(*sqle.Engine, *sql.Context, error)
getDbState
(db sql.Database, dEnv *env.DoltEnv)
:
(dsess.InitialDbState, error)
ExecuteSelect
(dEnv *env.DoltEnv, root *doltdb.RootValue, query string)
:
([]sql.Row, error)
ToSqlRows
(sch schema.Schema, rs ...row.Row)
:
[]sql.Row
CompressSchema
(sch schema.Schema, colNames ...string)
:
schema.Schema
CompressSchemas
(schs ...schema.Schema)
:
schema.Schema
CompressRow
(sch schema.Schema, r row.Row)
:
row.Row
SubsetSchema
(sch schema.Schema, colNames ...string)
:
schema.Schema
DoltSchemaFromAlterableTable
(t *AlterableDoltTable)
:
schema.Schema
DoltTableFromAlterableTable
(ctx *sql.Context, t *AlterableDoltTable)
:
*doltdb.Table
drainIter
(ctx *sql.Context, iter sql.RowIter)
:
error
CreateEnvWithSeedData
()
:
(*env.DoltEnv, error)
CreateEmptyTestDatabase
()
:
(*env.DoltEnv, error)
TestHomeDirPrefix
WorkingDirPrefix
CreateTestEnv
()
:
*env.DoltEnv
CreateTestEnvWithName
(envName string)
:
*env.DoltEnv
CreateEmptyTestTable
(dEnv *env.DoltEnv, tableName string, sch schema.Schema)
:
error
CreateTestDatabase
()
:
(*env.DoltEnv, error)
SqlRowsFromDurableIndex
(idx durable.Index, sch schema.Schema)
:
([]sql.Row, error)
sqlRowFromTuples
(sch schema.Schema, kd, vd val.TupleDesc, k, v val.Tuple)
:
(sql.Row, error)
All occurrences
Please wait...
Page is in error, reload to recover