Upload Blob
TypeScript
Retrieve Blob
TypeScript
Complete Example: Avatar Upload
TypeScript
Supported File Types
OnDB blob storage supports any binary file type including:- Images (PNG, JPG, GIF, WebP, SVG)
- Videos (MP4, WebM)
- Documents (PDF, DOCX)
- Audio (MP3, WAV)
- Archives (ZIP, TAR)
Size Limits
Maximum blob size is 2MB per file. For larger files, consider:- Compressing images before upload
- Splitting large files into chunks
- Using external storage with OnDB for metadata
Next Steps
Batch Operations
Bulk data operations
Task Management
Async operations tracking