Any reason this is not a bug? <https://trycf.com/...
# lucee
a
Any reason this is not a bug? https://trycf.com/gist/fb06d38cab83e1a65a89fc7d13368b94/lucee5?theme=monokai
Copy code
q = queryNew("id","integer", [["NOT_AN_INT"]])

q.addRow(["STILL_NOT_AN_INT"])

q.addRow(1)
q.setCell("id", "SERIOUSLY_NOT_AN_INT", q.recordCount)

writeDump(q)
CF, correctly IMO, errors-out on each of those.
a
Well that's.... less good than it could be
z
@bdw429s would have battled with this a bit
b
I'm familiar with that code, but haven't touched it much. In most of my QoQ work, the data is already in the query objects, so I'm usually bypassing the type checks (for performance) since I know it's already correct 🙂
a
since I know it's already correct
Well... that's the thing innit 😉
🙃 1
z
Brad can move fast with that stuff coz we have pretty good test covergae
i end up yak shaving when testing / fixing stuff quite often down the ol rabbit holes
z
some digging on the ticket
little bit faster and more consistent
times are 200000 querySetCells