Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
TristenHarr committed Oct 31, 2024
1 parent 33f8745 commit ed44ca2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ndc-duckduckapi/src/handlers/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ function getColumnExpression(field_def: any, collection_alias: string, column: s
// Default case
return `${escape_double(collection_alias)}.${escape_double(column)}`;
}

return processType(field_def.type);
}

Expand Down Expand Up @@ -393,7 +392,7 @@ function build_query(
switch (field_value.type) {
case "column":
const object_type = config.duckdbConfig.object_types[query_request.collection];
const field_def = object_type.fields[field_name];
let field_def = object_type.fields[field_value.column];
collect_rows.push(
getColumnExpression(field_def, collection_alias, field_value.column)
);
Expand Down

0 comments on commit ed44ca2

Please sign in to comment.