quds_db 0.0.6+6 copy "quds_db: ^0.0.6+6" to clipboard
quds_db: ^0.0.6+6 copied to clipboard

A sqflite expansion package that simplifies creating databases and tables, crud operations, queries with modelization

example/lib/main.dart

import 'package:example/data/notes_provider.dart';
import 'package:flutter/material.dart';
import 'ui/screens/home_page.dart';

void main() async {
  // var result =
  await notesProvider.query(
      queries: (n) => [
            n.jsonArrayData.asNamed('arr'),
            n.jsonArrayData
                .removeAt(1)
                .insertAt(0, 7)
                .add(10)
                .asNamed('arr_after')
          ]);
  // print(result);
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Quds Db Example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Quds Db Example'),
    );
  }
}
33
likes
150
points
8
downloads

Publisher

verified publisherquds.cc

Weekly Downloads

A sqflite expansion package that simplifies creating databases and tables, crud operations, queries with modelization

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

meta, path, path_provider, sqflite_common, sqlite3, sqlite3_flutter_libs, synchronized

More

Packages that depend on quds_db