queryExecute doesn't return generatedKey when using returntype = array & struct

Description

Related mailing list : https://dev.lucee.org/t/queryexecute-does-not-return-generatedkey-when-using-returntype-array/12341

queryExecute( "INSERT INTO `users` (`email`) VALUES (?)", [ "john@example.com" ], { "result": "result", "returntype": "array" } ); structKeyExists( result, "generatedKey" );// should be true

Environment

None

Activity

Pothys - MitrahSoft 
17 March 2023 at 08:13

I added a testcase to this ticket
Pull Request: https://github.com/lucee/Lucee/pull/1983

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 17 March 2023 at 06:26
Updated 29 March 2023 at 07:02