tursodatabase/turso · error · NotSupportedException
Incremental blob I/O is not yet supported by the Turso SQLit
Error message
Incremental blob I/O is not yet supported by the Turso SQLite-compatible provider.
What it means
Error "Incremental blob I/O is not yet supported by the Turso SQLite-compatible provider." thrown in tursodatabase/turso.
Source
Thrown at bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs:120
throw new NotSupportedException(Properties.Resources.ResizeNotSupported);
stream.Write(buffer, offset, count);
Persist();
}
protected override void Dispose(bool disposing)
{
if (disposing && !_disposed)
_stream?.Dispose();
_disposed = true;
base.Dispose(disposing);
}
private MemoryStream GetStream()
{
ObjectDisposedException.ThrowIf(_disposed, this);
return _stream ?? throw new NotSupportedException("Incremental blob I/O is not yet supported by the Turso SQLite-compatible provider.");
}
private void Persist()
{
if (_connection is null || _tableName is null || _columnName is null || _readOnly)
return;
using var command = _connection.CreateCommand();
command.CommandText = "UPDATE " + QuoteIdentifier(_tableName) + " SET " + QuoteIdentifier(_columnName) + " = $value WHERE rowid = $rowid;";
command.Parameters.Add("$value", SqliteType.Blob).Value = GetStream().ToArray();
command.Parameters.Add("$rowid", SqliteType.Integer).Value = _rowId;
command.ExecuteNonQuery();
}
private static byte[] GetBlobValue(SqliteConnection connection, string tableName, string columnName, long rowId)
{
using var command = connection.CreateCommand();
command.CommandText = "SELECT " + QuoteIdentifier(columnName) + " FROM " + QuoteIdentifier(tableName) + " WHERE rowid = $rowid;";View on GitHub (pinned to bad083fafb)
When it happens
Trigger: Thrown at bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs:120 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tursodatabase/turso@bad083fafb (2026-08-16).
Data as JSON: /api/errors/1fcef5fe6b1e847c.
Report an issue: GitHub.