Re: Inserting default values into execute_values

2020-04-01 Thread Stephen Lagree
o Adrian's default class and tried it, but it then had an error with the mogrify line in execute values. I tried a few variations of templates with and without parentheses and that didn't work either. -Steve On Wed, Apr 1, 2020 at 1:03 PM Adrian Klaver wrote: > On 3/31/20 7:16 PM,

Inserting default values into execute_values

2020-03-31 Thread Stephen Lagree
Hello, I am trying to insert into a table to generate sequential ids. Is there a way to do this repeatedly using execute_values if there is only one column and it is auto incremented? It seems the execute_values requires at least one non-default value. I am trying to do this: query = "INSERT