balderdashy / balderdashy/sails

sails-postgresql calling processEachRecord() on sendNativeQuery() results

Open
#6,903 4 comments 0 reactions 0 assignees View on GitHub
orm postgresql question try this out please
Dominant language
JavaScript
Stars
22.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Is there support for calling `processEachRecord()` on results from `sendNativeQuery()` in the sails-postgresql adapter?

This function does some automagical typecasting on auto-timestamps which otherwise needs to be manually implemented for `sendNativeQuery()` results.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the sails-postgresql adapter entry point for sendNativeQuery() and the existing processEachRecord() path. Determine whether the native-query results can use the same processing, and verify that auto-timestamps receive the expected typecasting when the work is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, postgresql
Domain
backend, database
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.