PostGIS  2.1.10dev-r@@SVN_REVISION@@
def raster2pgsql.make_sql_value_array (   values)

Definition at line 305 of file raster2pgsql.py.

References quote_sql_value().

Referenced by make_sql_addrastercolumn().

306  sql = "ARRAY["
307  for v in values:
308  if type(v) == str:
309  sql += quote_sql_value(v) + ","
310  else:
311  sql += str(v) + ','
312  sql = sql[:-1] # Trim comma
313  sql += "]"
314  return sql
315 
def quote_sql_value(value)
SQL OPERATIONS.
def make_sql_value_array(values)

Here is the call graph for this function:

Here is the caller graph for this function: