Skip to content

Pocketbase client cached with drift (sqlite)

License

Notifications You must be signed in to change notification settings

codewithmustafa/pocketbase_drift

 
 

Repository files navigation

PocketBase Drift

PocketBase client cached with Drift.

  • Full Text Search
  • Offline first
  • Partial updates
  • CRUD support
  • SQLite storage
  • All platforms supported
  • Example app
  • Tests

Getting Started

Replace a pocketbase client with a drift client.

- import 'package:pocketbase/pocketbase.dart';
+ import 'package:pocketbase_drift/pocketbase_drift.dart';

- final client = PocketBase(
+ final client = PocketBaseDrift(
    'http://127.0.0.1:8090'
);

Web

For web, you need to follow the instructions for Drift to copy the sqlite wasm binary into the web/ directory.

About

Pocketbase client cached with drift (sqlite)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 35.1%
  • C++ 30.4%
  • CMake 24.7%
  • Ruby 3.5%
  • HTML 2.4%
  • C 1.9%
  • Other 2.0%