Dart package for accessing databases.

Related tags

Data dart flutter
Overview

Pub Package Github Actions CI PRs Welcome

Introduction

This is database.dart, a vendor-agnostic database access API for Flutter and other Dart projects.

This version is just an early preview. The API may undergo many changes until we freeze it. Anyone is welcome to contribute to the development of this package.

Copyright 2019-2020 Gohilla Ltd. Licensed under the Apache License 2.0.

Why this package?

  • 👫 Document & SQL database support. The API has been designed to support both SQL databases and document databases. You - or your customers - can always choose the best database without rewriting any code.
  • 🔭 Full-text search engine support. The API supports forwarding specific queries to search engines that can, for example, handle natural language queries better than transaction databases. There are already several search engines already supported (Algolia, ElasticSearch, and a simple search engine written in Dart).

Links

Issues?

  • Report issues at the issue tracker.
  • Contributing a fix? Fork the repository, do your changes, and just create a pull request in Github. Key contributors will be invited to become project administrators in Github.

Pub packages in this repository

Getting started

Go to the main package.

You might also like...

📱 An app for accessing data about the FIRST Tech Challenge

📱 An app for accessing data about the FIRST Tech Challenge

The Orange Alliance - Flutter App An app for accessing data about the FIRST Tech Challenge. This is the mobile version of The Orange Alliance using th

Oct 30, 2022

An unofficial, platform independent, client for accessing different AI models developed by OpenAI

An unofficial, platform independent, client for accessing different AI models developed by OpenAI

The OpenAI API can be applied to virtually any task that involves understanding or generating natural language or code. They offer a spectrum of model

Dec 30, 2022

Dart package that converts number to words (English language)A Flutter/Dart package that converts number to words (English language)

flutter_number_to_words_english A Flutter/Dart package that converts number to words (English language) Flutter (Null Safety) Flutter (Channel stable,

Dec 9, 2022

A Dart package which supports checking if a current package is up-to-date.

pub_updater A Dart package which enables checking whether packages are up to date and supports updating them. Intended for use in CLIs for prompting u

Oct 27, 2022

Some examples for how to build dart code using package:analyzer and package:code_builder only (i.e. no build_runner or build.yaml files)

What is this? Some examples for how to build dart code from another dart code us

Apr 17, 2022

Flutter package for displaying and animating Scalable Vector Graphics 1.1 files. The package has been written solely in Dart Language.

Flutter package for displaying and animating Scalable Vector   Graphics 1.1 files. The package has been written solely in Dart Language.

Animated SVG | Flutter Package Flutter package for displaying and animating Scalable Vector Graphics 1.1 files. The package has been written solely in

Jul 19, 2022

Dart package responsible to provide the basic resources to Lambda Functions with Clean Dart

AWS Lambda Core This package is responsible to provide the basic resources to all services; Usage pubspec.yaml dependencies: aws_lambda_core: laste

Dec 2, 2021

GitHub Action that uses the Dart Package Analyzer to compute the Pub score of Dart/Flutter packages

GitHub Action that uses the Dart Package Analyzer to compute the Pub score of Dart/Flutter packages

Dart/Flutter package analyzer This action uses the pana (Package ANAlysis) package to compute the score that your Dart or Flutter package will have on

Dec 29, 2022

This is a dart package that converts words to numbers. It can be used in Flutter and normal Dart programs

Wordstonumbers.dart Wordstonumbers.dart is a simple dart package that converts a string of simple worded numbers into digits (e.g one hundred - 100).

Oct 17, 2022

Simple Dart package with build-in code generation. It simplifies and speedup creation of cache mechanism for dart classes.

Simple Dart package with build-in code generation. It simplifies and speedup creation of cache mechanism for dart classes.

Simple Dart package with build-in code generation. It simplifies and speedup creation of cache mechanism for dart classes.

Jan 2, 2023

A Dart/Flutter package to perform network calls. It uses Isolates to perform network calls on Dart VM environments and WebWorkers on Web.

ArDriveHTTP ArDriveHTTP is a package to perform network calls for ArDrive Web. It uses Isolates to perform network calls on Dart VM environments and W

Dec 15, 2022

A Dart build script that downloads the Protobuf compiler and Dart plugin to streamline .proto to .dart compilation.

A Dart build script that downloads the Protobuf compiler and Dart plugin to streamline .proto to .dart compilation.

Oct 26, 2022

Mysql.dart - MySQL client for Dart written in Dart

Native MySQL client written in Dart for Dart See example directory for examples

Dec 29, 2022

🔔 A flutter package to create cool and beautiful text animations. [Flutter Favorite Package]

🔔  A flutter package to create cool and beautiful text animations. [Flutter Favorite Package]

Animated Text Kit A flutter package which contains a collection of some cool and awesome text animations. Recommended package for text animations in C

Jan 6, 2023

A package that lets you include a cool, nice looking and validated Password TextFormField in your app to enhance user experience. The package is fully & easily modifiable.

A package that lets you include a cool, nice looking and validated Password TextFormField in your app to enhance user experience. The package is fully & easily modifiable.

A package that lets you include a cool, nice looking and validated Password TextFormField in your app to enhance user experience. The package is fully

Jan 1, 2023

A package that lets you include a cool, nice looking and validated Password TextFormField in your app to enhance user experience. The package is fully & easily modifiable.

A package that lets you include a cool, nice looking and validated Password TextFormField in your app to enhance user experience. The package is fully & easily modifiable.

A package that lets you include a cool, nice looking and validated Password TextFormField in your app to enhance user experience. The package is fully

Jun 7, 2022

Insipred by Font awesome Icons package 🤗 . This package contains more than 2000 icons 🥰

Insipred by Font awesome Icons package 🤗 . This package contains more than 2000 icons 🥰

flutter_cmoon_icons 🥳 Insipred by Font awesome Icons package 🤗 . This package contains more than 2000 icons 🥰 . The amazing thing about this icons

Nov 3, 2021

A GUI package manager and package installer for Windows Subsystem for Android (WSA)

A GUI package manager and package installer for Windows Subsystem for Android (WSA)

wsa_pacman A GUI package manager and package installer for Windows Subsystem for Android (WSA). Currently provides a double-click GUI installer for .a

Jan 1, 2023
Comments
  • Any way to manually serialize the data coming from algolia?

    Any way to manually serialize the data coming from algolia?

    Is there a way to convert the default response List to a custom json object, so we can run it though a custom serialized class?

    List<Hit> _tmpData = List<Hit>();
        Stream<QueryResult> tmp =
            _algoliaDb.collection('airportData').searchIncrementally(
                  reach: Reach.server,
                  query: Query.parse(query),
                );
        tmp.listen(
          (event) {
            for (var item in event.items) {
              final _tmp = json.encode(Hit.fromJson(item.data));
              _tmpData.add(
                Hit.fromJson(
                  json.decode(_tmp),
                ),
              );
            }
          },
        )
    

    Currently I am doing it this way but, would be nice if there was an option within the package itself.

    opened by Mravuri96 2
  • is there any plan to update

    is there any plan to update "this database version" ?

    First of all, thank you so much for making a good package.

    However, there are many problems because this package is not supported by dependence and null safety, so do you have any separate update plans?

    I'm sure you're very busy, but I'd like to ask you to update the dependence issue and your safety support.

    opened by ItdaTeam 0
  • Update universal_io, built_value dependency to the last version

    Update universal_io, built_value dependency to the last version

    I'm getting this error:

    And because database >=0.3.1 depends on universal_io >=0.8.6 <2.0.0, flutter_native_splash ^1.2.0 is incompatible with database >=0.3.1.
    
    Because build_runner >=2.0.0 depends on code_builder ^4.0.0 and no versions of code_builder match >4.0.0 <5.0.0, build_runner >=2.0.0 requires code_builder 4.0.0.
    And because code_builder 4.0.0 depends on built_value ^8.0.0 and every version of database depends on built_value >=5.0.0 <8.0.0, build_runner >=2.0.0 is incompatible with database.
    

    here what is need update to:

      built_collection: ^5.1.0
      built_value: ^8.1.1
      fixnum: ^1.0.0
      protobuf: ^2.0.0
      universal_html: ^2.0.8
      universal_io: ^2.0.4
    
    opened by lucasdidur 1
Owner
Dint
Open-source Flutter/Dart packages. Pull are requests welcome in all projects.
Dint
his package provides a Clock class which encapsulates the notion of the "current time" and provides easy access to points relative to the current time.

This package provides a Clock class which encapsulates the notion of the "current time" and provides easy access to points relative to the current tim

Dart 34 Dec 15, 2022
Stream-based strongly typed GraphQL client for Dart

A simple, powerful GraphQL Client for Flutter and Dart Documentation ?? Features ✅ Fully Typed: work faster and safer with compile time checks and IDE

GQL Dart 484 Jan 9, 2023
Moor is an easy to use, reactive, typesafe persistence library for Dart & Flutter

Moor is an easy to use, reactive, typesafe persistence library for Dart & Flutter

Simon Binder 1.8k Dec 30, 2022
Generate dart type definitions from PostgreSQL database schema

schema-dart Generate dart type definitions from PostgreSQL database schema (WIP) Installation: Until the package is published to pub.dev, it can be in

null 8 Oct 31, 2022
Postgres-conector - A library for connecting to and querying PostgreSQL databases in Dart.

TODO: Put a short description of the package here that helps potential users know whether this package might be useful for them. Features TODO: List w

null 2 Nov 14, 2021
This project is an example of Apollo Federation which implements multiple different type of databases

This project is an example of Apollo Federation which implements multiple different type of databases(polyglot persistence model).

null 2 Feb 18, 2022
Win32 registry - A package that provides a friendly Dart API for accessing the Windows registry

A package that provides a friendly Dart API for accessing the Windows registry.

Tim Sneath 20 Dec 23, 2022
A Flutter package for accessing the Google Fonts API

google_fonts The google_fonts package for Flutter allows you to easily use any of the thousands of fonts available from fonts.google.com in your Flutt

null 670 Dec 29, 2022
Get google api credentials - A Dart CLI app to obtain credentials for accessing Google APIs

get_google_api_credentials A Dart CLI app to obtain credentials for accessing Go

null 1 Jan 28, 2022
Flutter plugin for accessing the NFC features on Android and iOS.

nfc_manager Flutter plugin for accessing the NFC features on Android and iOS. Note: This plugin depends on NFCTagReaderSession (requires iOS 13.0 or l

null 126 Jan 1, 2023