Could we support passing the scheme to CreateAppender()
As the native function already supports this as far as I can see a none breaking change could be done with replacing the existing methods with the following:
public DuckDBAppender CreateAppender(string table) => CreateAppender(null, table);
public DuckDBAppender CreateAppender(string schema, string table)
{
EnsureConnectionOpen();
if (NativeMethods.Appender.DuckDBAppenderCreate(NativeConnection, schema, table, out var nativeAppender) == DuckDBState.DuckDBError)
{
try
{
DuckDBAppender.ThrowLastError(nativeAppender);
}
finally
{
nativeAppender.Close();
}
}
return new DuckDBAppender(nativeAppender);
}
I haven't looked at the full API but i guess there would be other places that would need to support the schema as a parameter
Hi
Could we support passing the scheme to CreateAppender()
As the native function already supports this as far as I can see a none breaking change could be done with replacing the existing methods with the following:
I haven't looked at the full API but i guess there would be other places that would need to support the schema as a parameter