MCPcopy
hub / github.com/questdb/questdb / wrap_varchar_arrays

Function wrap_varchar_arrays

compat/src/test/python/runner_psycopg3.py:141–148  ·  view source on GitHub ↗
(parameters, param_types)

Source from the content-addressed store, hash-verified

139
140
141def wrap_varchar_arrays(parameters, param_types):
142 wrapped = []
143 for i, param in enumerate(parameters):
144 if i < len(param_types) and param_types[i].get('type', '').lower() == 'array_varchar':
145 wrapped.append(VarcharArray(param) if isinstance(param, list) else param)
146 else:
147 wrapped.append(param)
148 return wrapped
149
150
151def execute_step(step, variables, cursor: Cursor, connection: Connection):

Callers 1

execute_stepFunction · 0.85

Calls 3

VarcharArrayClass · 0.85
getMethod · 0.65
appendMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…