PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ make_sql_value_array()

def raster2pgsql.make_sql_value_array (   values)

Definition at line 303 of file raster2pgsql.py.

References quote_sql_value(), and ovdump.type.

Referenced by make_sql_addrastercolumn().

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 
def quote_sql_value(value)
SQL OPERATIONS.
def make_sql_value_array(values)
type
Definition: ovdump.py:41
Here is the call graph for this function:
Here is the caller graph for this function: