Client APIs
API Reference Overview
Flush the appender to the table, forcing the cache of the appender to be cleared. If flushing the data triggers a
constraint violation or any other error, then all data is invalidated, and this function returns DuckDBError.
It is not possible to append more values. Call duckdb_appender_error to obtain the error message followed by
duckdb_appender_destroy to destroy the invalidated appender.  
###### Syntax {#docs:api:c:appender::syntax}  
```c
duckdb_state duckdb_appender_flush(
duckdb_appender appender
);
```  
###### Parameters {#docs:api:c:appender::parameters}  
* `appender`: The appender to flush.  
###### Return Value {#docs:api:c:appender::return-value}  
`DuckDBSuccess` on success or `DuckDBError` on failure.  
<br>