Support for additional string functions.

This commit is contained in:
zer0sub 2019-06-02 12:45:46 +02:00
parent 3c4b078941
commit aef698bdbc
6 changed files with 272 additions and 19 deletions

View file

@ -113,6 +113,16 @@ func serializeColumnList(statement statementType, columns []column, out *queryDa
return nil
}
//func stringExpressionListToExpressionList(stringExpressions []StringExpression) []expression{
// var ret []expression
//
// for _, strExp := range stringExpressions {
// ret = append(ret, strExp)
// }
//
// return ret
//}
func Query(statement Statement, db execution.Db, destination interface{}) error {
query, args, err := statement.Sql()