Re: libpq prepared statement insert null for foreign key
On 3/9/20 5:00 PM, Ted Toth wrote: I tries setting the parameter for the foreign NULL: params[i] = NULL; I think you will need to show the code previous to the above. and I get a 'Key not present in table ...' error. How do I insert a record where I don't have a foreign key yet? Ted --
libpq prepared statement insert null for foreign key
I tries setting the parameter for the foreign NULL: params[i] = NULL; and I get a 'Key not present in table ...' error. How do I insert a record where I don't have a foreign key yet? Ted