Default getData's bArraysAsStructs argument to true for specific types

Description

By default FarCry returns standard array properties as an array of objectid's. It would improve performance in many situations to be able to include the typename in that array. The bArraysAsStructs argument in getData does that, but has to be called manually. Ideally, we should be able to default that value to true on a type by type basis.

Environment

None

Activity

Show:
Blair McKenzie
June 16, 2014, 1:00 AM

Done. Add the bArraysAsStructs attribute to the type component to set the default value of the getData's bArraysAsStructs argument.

Jason Barnes
August 17, 2014, 12:44 AM

I believe we should also be checking for not only is variable defined but that it is specifically a boolean.

<cfif isdefined("application.stCOAPI.#typename#.bArraysAsStructs")>

Assignee

Blair McKenzie

Reporter

Blair McKenzie

Labels

None

Fix versions

Priority

Major
Configure