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

套件詳情v0.6.0+eol

sqlite3_flutter_libs

不再使用,請升級到 sqlite3 套件的 3.x 版本

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
61.9萬
喜歡數
176
Pub 分數
150

安裝套件

flutter pub add sqlite3_flutter_libs

套件介紹

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

sqlite3_flutter_libs 是一個遺留套件,為 Flutter 應用程式在多個平台(包括 Android、iOS、Web、macOS、Windows 和 Linux)上提供 SQLite 資料庫支援。它旨在將 SQLite3 庫整合到 Flutter 應用中,以實現持久性的本機資料儲存。然而,此套件已不再維護,建議使用者升級至該套件的 3.x 版本:sqlite3,以獲得更好的效能、安全性與持續支援。該套件作為早期 Flutter SQLite 實作的歷史參考。

適用情境

  • 舊版應用程式維護
  • 使用 SQLite 的較舊 Flutter 項目
  • 從過時的 SQLite 集成遷移

主要特色

  • 跨平台 SQLite 存取
  • 對多種操作系統的支援
  • 與舊版 Flutter 版本的相容性

適合對象

  • 仍在依賴已棄用的 SQLite 設定的專案
  • 從舊版本遷移的開發者

使用建議

  • 不建議用於新專案
  • 已棄用且未維護
  • 需要遷移到 sqlite3 套件 3.x

原始 README

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

sqlite3.dart

This project contains Dart packages to use SQLite from Dart via dart:ffi.

The main package in this repository is sqlite3, which contains all the Dart apis and their implementation. package:sqlite3 is a pure-Dart package without a dependency on Flutter. It can be used both in Flutter apps or in standalone Dart applications.

package:sqlite3_test contains utilities that make integrating SQLite databases into Dart tests easier. In particular, they patch CURRENT_TIMESTAMP and related constructs to return the (potentially faked) time returned by package:clock.

package:sqlite3_web contains helpers for running SQLite on the web, including code to compile web workers that help with the process.

package:sqlite3_connection_pool provides an asynchronous connection pool for SQLite that works well across isolates.

Example Usage

A file with basic usage examples for pure Dart can be found here.

所屬分類

原始碼儲存庫

使用此套件的專案