Closed unconverged closed 1 year ago
To pass blob as parameter we need to introduce a new Enum for parameter type (DuckDBType) and use that instead of DbType
Why? There is DbType.Binary
value we can use here.
There is but
DbType.Binary
comment says: A variable-length stream of binary data ranging between 1 and 8,000 bytes. There is nothing stopping us from using DbType.Binary
technically but I don't know if that's the right thing to do or not.
This also needs to be documented.
@hazzik Docs are in this repo: https://github.com/Giorgi/DuckDB.NET-Docs
We need both reading and writing of blob values.