Skip to content

Add a top-level fetchValue() function, and maybe fetchOne(), too  #286

@AnyhowStep

Description

@AnyhowStep

Right now, to select a single value without any table selected,

sql.selectValue(() => someExpr)
    .fetchValue(connection);

Would be nice to have,

sql.fetchValue(
  connection,
  () => someExpr
)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions