Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » PostgreSQL: Escape "?" parameter placeholder
Re: PostgreSQL: Escape "?" parameter placeholder [message #52820 is a reply to message #52526] Thu, 05 December 2019 19:14 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
This is bit problematic as many SQL databases have '?' in their C interface definition and cannot escape it, so general solution (as for all SQL RDBMs) is impossible.

However, it is my understanding that jsonb type is specific for PGSQL. For this parcular SQL flavor, I have added

void NoQuestionParams(bool b = true);

and also possiblity to escape '?' by "??"

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: BUGFIX: MySqlConnection::SetParam(): handling INT64_V is missing
Next Topic: Soci developer leaving
Goto Forum:
  


Current Time: Sat Jun 07 07:26:28 CEST 2025

Total time taken to generate the page: 0.05249 seconds