Fix remnant debug messages

This commit is contained in:
Vikram Rangnekar 2020-01-14 23:28:48 -05:00
parent 5e75cc7b83
commit f37d867e32
2 changed files with 0 additions and 7 deletions

View File

@ -932,7 +932,6 @@ func (c *compilerContext) renderNestedWhere(ex *qcode.Exp, ti *DBTableInfo) erro
return err
}
//fmt.Println(">", ex)
io.WriteString(c.w, `)`)
}

View File

@ -33,11 +33,7 @@ func argMap(ctx context.Context, vars []byte) func(w io.Writer, tag string) (int
return 0, errors.New("query requires variable $user_role")
}
fmt.Println("1>", tag)
fmt.Println("2>", string(vars))
fields := jsn.Get(vars, [][]byte{[]byte(tag)})
fmt.Println("2.1>", fields)
if len(fields) == 0 {
return 0, nil
@ -47,8 +43,6 @@ func argMap(ctx context.Context, vars []byte) func(w io.Writer, tag string) (int
fields[0].Value = v[1 : len(v)-1]
}
fmt.Println("3>", string(fields[0].Value))
return w.Write(escQuote(fields[0].Value))
}
}