tracker issue : CF-4196853

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Doc ER for: document query["column"] syntax

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 10/20/2016

Components: Documentation

Versions: 2016

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF2016_Update2 / NA

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 0

This ER is to document query["column"] syntax. This works:

<cfscript>
  a=[];
  q = queryNew("foobar", "", [["foo"],["bar"]]);
  a.append(q["foobar"], true);
  writeDump(a);//returns same result as q.valueArray("foobar")
</cfscript>

Before valueArray() was added, sometimes query["column"] was used. However, that syntax is an undocumented feature. This ER is for documenting that syntax.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4196853

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email:

Attachments:

Comments:

Aaron, Thanks for your inputs. The updated page is: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-t-z/valuearray.html
Comment by Saurav G.
1598 | November 23, 2016 12:55:02 AM GMT
Saurav, We should mention valueArray member function in the note.
Comment by Nimit S.
1599 | March 20, 2017 07:07:45 AM GMT
Nimit, Can you check? https://chl-author-preview.corp.adobe.com/content/help/en/coldfusion/cfml-reference/coldfusion-functions/functions-t-z/valuearray.html
Comment by Saurav G.
1600 | March 20, 2017 08:21:32 AM GMT