Skip to content

Commit

Permalink
Merge pull request #8 from ortus-boxlang/query_metadata_compat
Browse files Browse the repository at this point in the history
Fix to match CFML query metadata behavior
  • Loading branch information
elpete authored Sep 20, 2024
2 parents c112643 + b40dbcb commit 861d9b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public Object _invoke( IBoxContext context, ArgumentsScope arguments ) {

if ( value instanceof Query query ) {
Array columnMetadata = new Array();
for ( Map.Entry<Key, QueryColumn> entry : columns.entrySet() ) {
for ( Map.Entry<Key, QueryColumn> entry : query.getColumns().entrySet() ) {
columnMetadata.add( Struct.of(
Key._name, entry.getKey(),
Key.typename, entry.getValue().getType().toString(),
Expand Down

0 comments on commit 861d9b1

Please sign in to comment.