No matching Method/Function for Query.getMeta() found

Description

I have a helper function that works on ACF which allows me to create a struct that preserves query column case sensitivity:

I'm trying to port this site over to Lucee, and I get the following error:

I can get around the issue by adjusting the loop code to:

Activity

Show:

Chris Dawes 10 August 2021 at 04:01

Surely it should be query.GetMetaData() not query.GetMeta()? Surprised the latter works on ACF.

 

That is redundant, that would be like javascript using string.stringToLowerCase() ??

should be simply query.meta() imho. the get and data are redundant in member function.

Michael Offner 19 May 2017 at 20:24

getMeta returns the same as getMetaData (check out here) what is a method from java.sql.Resultset.getMetaData.
so a method of the class, not a function member.

Michael Offner 19 May 2017 at 20:18

i assume this is simply a method of the query class in ACF.

Pothys - MitrahSoft 28 April 2017 at 06:11

I've analysed this ticket and confirmed the issue occurs. By using query.getMeta() it throws error message in lucee, but ACF working as expected. I've added testCase for this issue.
Pull Request : https://github.com/lucee/Lucee/pull/222

andrewy 27 April 2017 at 16:25

Nothing surprises me about ACF anymore. As far as I'm aware, getMetaData() is not a member function on query objects (in ACF10 at least). I could get around the issue via using getMetaData(query) and some other minor adjustments (as per the description above).

Details

Assignee

Reporter

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

Affects versions

Priority

Created 27 April 2017 at 09:43
Updated 10 August 2021 at 04:01