Overview
A pure Dart client for SurrealDB offering auto-reconnection and typed functions. Designed for seamless integration across multiple platforms, it enables developers to interact with SurrealDB databases efficiently in Flutter applications. The package abstracts low-level networking details, providing a clean API for queries, subscriptions, and authentication. Its type-safe functions reduce runtime errors and improve development speed. Ideal for real-time apps requiring reliable database connectivity.
Use cases
- Real-time data synchronization
- Cross-platform database access
- Type-safe query execution
- Automated reconnection after network loss
- Serverless backend integration
- Offline-first app development
Key features
- Auto reconnect on connection loss
- Typed function support
- Pure Dart implementation
- Multi-platform compatibility
- Lightweight and efficient
- Secure authentication handling
Suitable for
- Flutter developers using SurrealDB
- Apps needing real-time database updates
- Projects requiring platform-agnostic database clients
- Developers prioritizing type safety
- Teams building scalable backend services
- Applications with unreliable network conditions
Considerations
- Requires a running SurrealDB instance
- Limited to SurrealDB-specific features
- May need additional setup for complex queries
- Depends on external SurrealDB server stability
- Not suitable for non-SurrealDB databases
- Authentication configuration required