搜尋套件、儲存庫與 APP 分類

套件詳情v2.4.7

sembast_web

基於 IndexedDB 的 Web 上的 NoSQL 持久化嵌入式資料庫

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
5.7萬
喜歡數
58
Pub 分數
160

安裝套件

flutter pub add sembast_web

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Sembast_web 是一個基於 IndexedDB 建構的 NoSQL 持久嵌入式資料庫,專為 Web 應用程式設計。它提供了一種輕量級、高效能的解決方案,可在瀏覽器中儲存與檢索結構化資料,無需伺服器支援。非常適合離線優先的應用程式,支援複雜查詢、事務與索引,即使在網路連接受限的情況下也能確保快速存取資料。該套件可與 Flutter 無縫整合,讓開發者能在 Web、行動與桌面平台使用相同的 API。

適用情境

  • 離線優先的網路應用
  • 客戶端資料儲存於Web應用程式中
  • 跨平台資料持久化
  • 即時資料同步
  • 儲存使用者偏好和設定

主要特色

  • 基於 IndexedDB 的儲存
  • 支援複雜查詢和索引
  • 事務性操作
  • 跨平台相容性
  • 輕量且快速的性能

適合對象

  • 使用 Flutter 的 Web 開發人員
  • 需要本地資料持久化的應用
  • 開發離線功能工具的開發者
  • 需要簡單而強大的資料儲存的專案
  • 針對多個平台使用共享程式碼的團隊

使用建議

  • 僅限網頁平台(非行動原生)
  • 取決於 IndexedDB 的可用性
  • 可能需要為舊版瀏覽器添加 polyfills
  • 不適合大規模伺服器端資料管理
  • 性能取決於設備的儲存容量

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

sembast

pub package Build Status codecov

NoSQL persistent embedded file system document-based database for Dart VM and Flutter with encryption support.

General

Yet another NoSQL persistent store database solution.

Pure dart solution working on Dart VM and Flutter using the file system as storage (1 database = 1 file). Works in memory (Browser, VM, Flutter, Node) for testing purpose

  • Supports single process io applications (Pure dart single file IO VM/Flutter storage supported)
  • Support transactions
  • Version management
  • Helpers for finding data
  • Web support (including Flutter Web) through sembast_web.
  • Can work on top of sqflite through sembast_sqflite.

Usage example:

Follow the guide.

Documentation

所屬分類

依賴

依賴清單 4 項

原始碼儲存庫

使用此套件的專案

所在榜單