MCPcopy Create free account
hub / github.com/LissaGreense/GO4SQL / New

Function New

engine/engine.go:19–24  ·  view source on GitHub ↗

New Return new DbEngine struct

()

Source from the content-addressed store, hash-verified

17
18// New Return new DbEngine struct
19func New() *DbEngine {
20 engine := &DbEngine{}
21 engine.Tables = make(Tables)
22
23 return engine
24}
25
26// Evaluate - it takes sequences, map them to specific implementation and then process it in SQL engine
27func (engine *DbEngine) Evaluate(sequences *ast.Sequence) (string, error) {

Callers 4

mainFunction · 0.92
runTestSuiteMethod · 0.70
runTestSuiteMethod · 0.70
getErrorMessageFunction · 0.70

Calls

no outgoing calls

Tested by 3

runTestSuiteMethod · 0.56
runTestSuiteMethod · 0.56
getErrorMessageFunction · 0.56