localdb

Last updated:

0 purchases

localdb Image
localdb Images
Add to Cart

Description:

localdb

LOCAL DB #

Sosial Media #






Donate #
ID: Jika Anda Menyukai karya saya dan ingin memberikan dana untuk saya membeli beberapa snack silahkan donasi seberapapun itu akan saya terima dan terima kasih banyak ya.
EN: If you like my work and want to give me funds to buy some snacks, please donate any amount I will accept and thank you very much.


Framework #
ID: Project ini Menggunakan beberapa bahasa framework sebagai berikut.
EN: This project uses several framework as follows.

Language Code #
ID: Project ini Menggunakan beberapa bahasa code program sebagai berikut.
EN: This project uses several programming language languages as follows.

Introduction #
ID: localdb adalah library untuk mempermudah dalam membuat database local.
Saya membuat library ini karena terinspirasi dari library lowdb.
EN: localdb is a library to make it easier to create local databases.
I created this library because it was inspired by the lirbary lowdb.

Use This Library #
ID: untuk anda yang ingin mencoba menggunakan source code ini, silahkan ikuti step berikut ini :
EN: for those of you who want to try to using this source code, please follow these steps :
Install Library
flutter pub add localdb
copied to clipboard
Quickstart


jsondb


import 'dart:io';
import 'package:localdb/jsondb.dart';
import 'package:localdb/file/file.dart';

void main() async {
var pathFile = "${Directory.current.path}/data.json";
var db = jsondb(FileSync(pathFile));
db.defaults({
"azka": "oke",
"array": [
{"key": "azka"},
{"key": "kunci"},
{"key": "bagus"}
],
"json": {}
}).write();

db.get("array").find({"key": "kunci"}).assign(
{"key": "kuncibaru", "post": "5", "data": "oke"}).write();

db.get("array").remove({"key": "bagus"}).write();

db.set("info.links.youtube", "youtube.com").write();

db.get("array").push({"key": "asaooaoao"}).write();

print(db.get("array").find({"post": "5"}).value());

print(db.get("array").value());

print(db.value());
}
copied to clipboard




yamldb





csvdb





xmldb






Contribution #
The project has a separate contribution file. Please adhere to the steps listed in the separate contributions file
Contact #
You can reach me on Telegram
License #

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.