PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ quote_sql_value()

def raster2pgsql.quote_sql_value (   value)

SQL OPERATIONS.

Definition at line 285 of file raster2pgsql.py.

Referenced by make_sql_register_overview(), and make_sql_value_array().

285 def quote_sql_value(value):
286  assert value is not None, "None value given"
287 
288  if len(value) > 0 and value[0] != "'" and value[:-1] != "'":
289  sql = "'" + str(value) + "'"
290  else:
291  sql = value
292  return sql
293 
def quote_sql_value(value)
SQL OPERATIONS.
Here is the caller graph for this function: