Skip to content
forked from isar/isar

Super Fast Cross Platform Database for Flutter & Web Apps

License

Notifications You must be signed in to change notification settings

saeed-golshan/isar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Isar Database

🚧 Very unstable and not ready for serious usage 🚧

QuickstartDocumentationExamplesSupport & IdeasPub.dev

Isar [ee-zahr]:

  1. River in Bavaria, Germany.
  2. Database that will make your life easier.

Features

  • ⚡️ Launch your app instantly no matter how much data you have
  • 📈 Highly scalable from hundreds to tens of thousands of records
  • 😎 Lazy loaded. Only load data when you need it
  • 🧪 Full ACID semantics. Rely on consistency
  • 📱 Multiplatform. iOS, Android, and the web (soon™)
  • 💙 Made for Flutter. Easily use it in your Flutter app
  • Asynchronous. Parallel query operations & multi-isolate support
  • ⚠️ Static typing with compile time checked and autocompleted queries

Schema definition

@Collection()
class Person with IsarObject {

  @Index(unique: true)
  String name;
  
  int age;
}

Query

final isar = await openIsar();

final result = isar.users.where()
  .sortedByName() // use index
  .filter()
  .ageGreaterThan(20)
  .beginGroup()
    .nameEqualTo("Paul")
    .or()
    .nameEqualTo("Lisa")
  .endGroup()
  .findAll()

About

Super Fast Cross Platform Database for Flutter & Web Apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 97.1%
  • Other 2.9%