This topic was automatically generated from Slack. You can find the original thread here.
Quick question, to confirm in a PostgreSQL step that has an execute custom SQL query - does a “$” symbol try and call to a variable in the Pipedream workflow and needs to be escaped to properly execute?
ok gotcha, it’s more of I’m sending a query that has a $ as in:
Their commitment to collaboration is underscored by securing $20 million in Series C funding and forming significant partnerships, such as with Unum Group, to advance caregiver support initiatives.
Apologies, that was vague and not very helpful - it messes up the import by throwing off the values:
Error The number of values provided does not match the number of values in the query.
If there are no $ signs, everything is fine, but the section one gets added into the input it throws this error. I am escaping all the normal SQL characters
WITH input_data AS ( SELECT ‘cariloop.com’ AS company_url, ‘Partner Program’ AS company_url_category, ‘Cariloop AS company_offering_url_source, CASE WHEN jsonb_typeof(’[ { “company_offering”: “Cariloop emphasizes the importance of strategic partnerships to amplify its reach and impact, providing innovative caregiver support solutions tailored to enhance HR initiatives, increase workforce engagement, and attract talent while bolstering diversity, equity, and inclusion programs. It engages with a wide array of partners across different sectors including benefits technology, benefit navigation, total well-being, insurance, and retail pharmacy. Cariloop’’s approach to partnerships includes offering resources for streamlined contracting, seamless implementation, integrated employee access platforms, and simplified administration and billing, aiming to create a supportive ecosystem for caregivers. Their commitment to collaboration is underscored by securing $20 million in Series C funding and forming significant partnerships, such as with Unum Group, to advance caregiver support initiatives.” } ]
Perfect, let me update that Node step right now and test it, and I’ll let you know if it works. I wasn’t sure if this was just something strange b/c I couldn’t find anywhere where you normally need to escape a “$”