Skip to content

fix: using less strict type for order column - #29

Open
bojan88 wants to merge 1 commit into
mainfrom
order-type-change
Open

fix: using less strict type for order column#29
bojan88 wants to merge 1 commit into
mainfrom
order-type-change

Conversation

@bojan88

@bojan88 bojan88 commented Oct 1, 2024

Copy link
Copy Markdown
Contributor

It's difficult to infer the column options when constructing a dynamic query.

pseudocode example:

const myFn = (tableName: string, orderColumn: string) => pgClient
  .query(tableName)
  .order([{ column: orderColumn }])

@bojan88
bojan88 requested review from aL3xa, bozazec and kegjon October 1, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant