Top |
Functions
gda_sql_identifier_force_quotes ()
gchar *
gda_sql_identifier_force_quotes (const gchar *str
);
Add double quotes around the str
identifier. This function is normally used only by database provider's
implementation. Any double quote character is replaced by two double quote characters.
For other uses, see gda_sql_identifier_quote()
.
Since: 5.0
gda_sql_identifier_prepare_for_compare ()
gchar *
gda_sql_identifier_prepare_for_compare
(gchar *str
);
Prepares str
to be compared:
if surrounded by double quotes or single quotes, then just remove the quotes
otherwise convert to lower case
The quoted string:
must start and finish with the same single or double quotes character
can contain the delimiter character (the single or double quotes) in the string if every instance of it is preceeded with a backslash character or with the delimiter character itself
This function is normally used only by database provider's implementation.
WARNING: str
must NOT be a composed identifier (<part1>."<part2>" for example)
WARNING: you may have to #include <sql-parser/gda-sql-parser.h>
Since: 5.0
gda_sql_value_stringify ()
gchar *
gda_sql_value_stringify (const GValue *value
);
Simplified version of gda_value_stringify()
.