QueryRun missing result attribute
AaronJWhite opened this issue · comments
Hi guys,
Was using OpenBD last night and realized how much I liked the cfscript implementation of cfquery compared to the actual tag. However, it seems like there is no way to set the result attribute that is available in the cfquery tag. This means I have to use the tag version of cfquery if I am doing an insert and need to get the ID (generatedkey/identitycol) of the inserted row. If there is a way to get the result variable with QueryRun I guess the docs should be updated, but if not I think it makes sense to add this functionality.
Thanks!
I am running the latest nightly (build date: 2016-04-16 04:04:43 GMT), but the result variable given back does not contain the generatedkey value. This should be pretty easy to reproduce.