rds-data icon indicating copy to clipboard operation
rds-data copied to clipboard

UUID

Open webjay opened this issue 3 years ago • 0 comments

I got the following error:

{
    "errorType": "Error",
    "errorMessage": "Missing type: uuid",
    "stack": [
        "Error: Missing type: uuid",
        "    at /var/task/node_modules/rds-data/lib/RDSData.js:207:35",
        "    at Array.forEach (<anonymous>)",
        "    at Function.RDSData.resultFormat (/var/task/node_modules/rds-data/lib/RDSData.js:172:30)",
        "    at /var/task/node_modules/rds-data/lib/RDSData.js:96:50",
        "    at processTicksAndRejections (internal/process/task_queues.js:93:5)"
    ]
}

but was able to get around it by casting the UUID field to varchar: id::VARCHAR(36).

Furthermore, I also got the error: "errorMessage": "Missing type: text" and see that the code in the NPM package doesn't uppercase typeName.

Is this package active?

webjay avatar May 12 '21 14:05 webjay