{"record":{"id":"1fcef5fe6b1e847c","repo":"tursodatabase/turso","slug":"incremental-blob-i-o-is-not-yet-supported-by-the-t","errorCode":null,"errorMessage":"Incremental blob I/O is not yet supported by the Turso SQLite-compatible provider.","messagePattern":"Incremental blob I/O is not yet supported by the Turso SQLite-compatible provider\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs","lineNumber":120,"sourceCode":"            throw new NotSupportedException(Properties.Resources.ResizeNotSupported);\n\n        stream.Write(buffer, offset, count);\n        Persist();\n    }\n\n    protected override void Dispose(bool disposing)\n    {\n        if (disposing && !_disposed)\n            _stream?.Dispose();\n\n        _disposed = true;\n        base.Dispose(disposing);\n    }\n\n    private MemoryStream GetStream()\n    {\n        ObjectDisposedException.ThrowIf(_disposed, this);\n        return _stream ?? throw new NotSupportedException(\"Incremental blob I/O is not yet supported by the Turso SQLite-compatible provider.\");\n    }\n\n    private void Persist()\n    {\n        if (_connection is null || _tableName is null || _columnName is null || _readOnly)\n            return;\n\n        using var command = _connection.CreateCommand();\n        command.CommandText = \"UPDATE \" + QuoteIdentifier(_tableName) + \" SET \" + QuoteIdentifier(_columnName) + \" = $value WHERE rowid = $rowid;\";\n        command.Parameters.Add(\"$value\", SqliteType.Blob).Value = GetStream().ToArray();\n        command.Parameters.Add(\"$rowid\", SqliteType.Integer).Value = _rowId;\n        command.ExecuteNonQuery();\n    }\n\n    private static byte[] GetBlobValue(SqliteConnection connection, string tableName, string columnName, long rowId)\n    {\n        using var command = connection.CreateCommand();\n        command.CommandText = \"SELECT \" + QuoteIdentifier(columnName) + \" FROM \" + QuoteIdentifier(tableName) + \" WHERE rowid = $rowid;\";","sourceCodeStart":102,"sourceCodeEnd":138,"githubUrl":"https://github.com/tursodatabase/turso/blob/bad083fafbefdeae9a42ec19bdaaad8918dcf411/bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs#L102-L138","documentation":"Error \"Incremental blob I/O is not yet supported by the Turso SQLite-compatible provider.\" thrown in tursodatabase/turso.","triggerScenarios":"Thrown at bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs:120 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bad083fafbefdeae9a42ec19bdaaad8918dcf411","analyzedAt":"2026-08-16T23:12:11.798Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}