MCPcopy Create free account
hub / github.com/OSGeo/gdal / CPLQuotedSQLIdentifier

Function CPLQuotedSQLIdentifier

port/cplstring.cpp:613–626  ·  view source on GitHub ↗

Return a CPLString of the SQL quoted identifier */

Source from the content-addressed store, hash-verified

611
612/** Return a CPLString of the SQL quoted identifier */
613CPLString CPLQuotedSQLIdentifier(const char *pszIdent)
614
615{
616 CPLString osIdent;
617
618 if (pszIdent)
619 {
620 char *pszQuotedIdent = CPLEscapeString(pszIdent, -1, CPLES_SQLI);
621 osIdent.Printf("\"%s\"", pszQuotedIdent);
622 CPLFree(pszQuotedIdent);
623 }
624
625 return osIdent;
626}

Callers 10

IReadBlockMethod · 0.85
IRasterIOMethod · 0.85
LoadSourcesMethod · 0.85
CanUseClientSideOutDBMethod · 0.85
GetBandsMetadataMethod · 0.85
YieldSubdatasetsMethod · 0.85
SetRasterPropertiesMethod · 0.85
CreateCopyMethod · 0.85
InsertRasterMethod · 0.85

Calls 2

CPLEscapeStringFunction · 0.85
PrintfMethod · 0.80

Tested by

no test coverage detected