porsager / porsager/postgres

Access columns data when using forEach/cursor

Open
#514 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
8.7k
Forks
374
Avg merge
11d 16h
Merged PRs (30d)
1

Description

When using the .forEach or .cursor methods to iterate returned rows (in the case of large datasets) is there a way to access the column definition information prior to or during that iteration ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the forEach and cursor APIs in the repository to determine how returned rows and column definitions are represented during iteration. The issue does not name files or tests, so trace both entry points before deciding the supported behavior. Done means column-definition access is implemented and tested, or the limitation and supported alternative are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs, postgresql
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.