PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ make_sql_value_array()

def raster2pgsql.make_sql_value_array (   values)

Definition at line 303 of file raster2pgsql.py.

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

References quote_sql_value(), and ovdump.type.

Referenced by make_sql_addrastercolumn().

Here is the call graph for this function:
Here is the caller graph for this function: