PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ quote_sql_value()

def raster2pgsql.quote_sql_value (   value)

SQL OPERATIONS.

Definition at line 285 of file raster2pgsql.py.

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.

Referenced by make_sql_register_overview(), and make_sql_value_array().

Here is the caller graph for this function: