database_universe 0.0.7 copy "database_universe: ^0.0.7" to clipboard
database_universe: ^0.0.7 copied to clipboard

discontinued

Extremely fast, easy to use, and fully async NoSQL database for Flutter.

Database Universe #

Database Universe this open source project is free

Demo #

πŸ“šοΈ Docs #

  1. Documentation
  2. Youtube
  3. Telegram Support Group
  4. Contact Developer (check social media or readme profile github)

πŸ”–οΈ Features #

  1. βœ… πŸ“±οΈ Cross Platform support (Device, Web)
  2. βœ… πŸ“œοΈ Standarization Style Code
  3. βœ… ⌨️ Cli (Terminal for help you use this library or create project)
  4. βœ… πŸ”₯️ Api (If you developer bot / userbot you can use this library without interact cli just add library and use πŸš€οΈ)
  5. ❌ 🧩️ Customizable Extension (if you want add extension so you can more speed up on development)
  6. ❌ ✨️ Pretty Information (user friendly for newbie)

❔️ Fun Fact #

This library 100% use on every my create project (App, Server, Bot, Userbot)

πŸ“ˆοΈ Proggres #

  • 2024-05-11

πŸ“₯️ Install Library #

  1. Dart
dart pub add database_universe

πŸš€οΈ Quick Start #

Example Quickstart script minimal for insight you or make you use this library because very simple

// ignore_for_file: non_constant_identifier_names
import 'dart:io';
import 'package:database_universe/database_universe.dart';
import 'package:general_lib/general_lib.dart';
import 'package:path/path.dart' as path;

void main(List<String> args) async {
  print("start");
  /// add database
  DatabaseUniverse databaseUniverse = DatabaseUniverse(
    // change extension with your own
    extension_name: "dbu",
    // if set true if open database password wrong force open but database will empty
    is_ignore_on_error: true,
  );
  // init database
  databaseUniverse.init(crypto: Crypto(key: "od8wkk8nYbgv2na8ApaL0NMGq3rcpnF5"));
  // set database directory
  Directory directory_db = () {
    if (Dart.isWeb) {
      return Directory("");
    }
    return Directory(path.join(Directory.current.path, "db"));
  }();
  print("open");
  // open disk database
  DatabaseUniverseData<JsonScheme> databaseUniverseData = databaseUniverse.disk_open(file_name: "Slebew", directory: directory_db, valueData: JsonScheme({}));
  // change value
  print("update");
  databaseUniverseData.value["first_name"] = "change name";
  // check if key count is not int set to int 0
  if (databaseUniverseData.value["count"] is int == false) {
    databaseUniverseData.value["count"] = 0;
  }
  // increament
  databaseUniverseData.value["count"] += 1;
  // save to disk
  databaseUniverse.disk_save(databaseUniverseData: databaseUniverseData, isWithClose: true);
  print("saved");
}
5
likes
0
points
107
downloads

Publisher

unverified uploader

Weekly Downloads

Extremely fast, easy to use, and fully async NoSQL database for Flutter.

Homepage
Repository (GitHub)
View/report issues

Topics

#database #database-universe #sqlite #encryption #storage

Documentation

Documentation

Funding

Consider supporting this project:

github.com
github.com

License

unknown (license)

Dependencies

analyzer, build, ffi, flutter, general_lib, js, meta, source_gen

More

Packages that depend on database_universe