पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

पैकेज विवरणv2.3.2+6

rethinkdb_dart

RethinkDB v2.3 के लिए Dart 2 ड्राइवर।

30-दिन डाउनलोड
2
लाइक
28
Pub अंक
25

पैकेज इंस्टॉल करें

flutter pub add rethinkdb_dart

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

RethinkDB v2.3 के लिए एक Dart 2 ड्राइवर, जो Dart एप्लिकेशन और RethinkDB डेटाबेस के बीच निरंतर एकीकरण की अनुमति देता है। यह Flutter या अन्य Dart-आधारित प्रोजेक्ट्स में RethinkDB में डेटा को जोड़ने, प्रश्न करने और प्रबंधित करने के लिए एक सीधा API प्रदान करता है। वास्तविक समय डेटा सिंक्रनाइजेशन के लिए डिज़ाइन किया गया है, यह चेंजीफीड्स और प्रतिक्रियाशील प्रोग्रामिंग पैटर्न का समर्थन करता है। ड्राइवर हल्का है और मुख्य डेटाबेस ऑपरेशन पर केंद्रित है, जिससे लाइव डेटा अपडेट और कुशल बैकएंड संचार की आवश्यकता वाले एप्लिकेशन के लिए उपयुक्त है।

उपयोग

  • Flutter ऐप्स में रियल-टाइम डेटा सिंकिंग
  • लाइव अपडेट के साथ प्रतिक्रियाशील डैशबोर्ड बनाना
  • डार्ट बैकएंड में RethinkDB को एकीकृत करना
  • चेंजीफीड के साथ स्ट्रीमिंग डेटा का प्रबंधन
  • सहयोगात्मक वेब एप्लिकेशन विकसित करना

मुख्य विशेषताएँ

  • RethinkDB v2.3 का समर्थन करता है
  • चेंजफीड कार्यक्षमता प्रदान करता है
  • हल्का और न्यूनतम API
  • Flutter और Dart CLI के साथ सुसंगत
  • कनेक्शन पूलिंग और त्रुटि संभाल प्रदान करता है

इनके लिए उपयुक्त

  • RethinkDB का उपयोग करने वाले Dart विकासकर्ता
  • वास्तविक समय के डेटा प्रवाह की आवश्यकता वाले ऐप्स
  • प्रतिक्रियाशील डेटाबेस प्रश्नों की आवश्यकता वाले प्रोजेक्ट
  • Dart के साथ निर्मित बैकएंड सेवाएँ
  • त्वरित डेटा-आधारित इंटरफ़ेस प्रोटोटाइपिंग

विचार योग्य बातें

  • RethinkDB v2.3 तक सीमित
  • नवीनतम RethinkDB संस्करणों के लिए कोई आधिकारिक समर्थन नहीं है
  • डेटाबेस कनेक्शन के मैन्युअल सेटअप की आवश्यकता होती है
  • v2.3 तक सक्रिय रूप से बनाए रखा जाता है
  • छोटे से मध्यम आकार के एप्लिकेशन के लिए सबसे उपयुक्त

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

Build Status

Dart 2 and Flutter RethinkDB Driver

A Dart 2 and Flutter driver for RethinkDB v2.3.

This is a fork of RethinkDB Driver, that was created to update the driver to Dart 2 and Flutter.

Getting Started:

The driver api tries to align with the javascript and python RethinkDB drivers. You can read their documentation here.

To include this driver in your own project add the package to your pubspec.yaml file:

dependencies:
  rethinkdb_dart: '^2.3.2+6'

Or to use bleeding edge:

dependencies:
  rethinkdb_dart:
    git: git://github.com/marceloneppel/rethinkdb.git

Or if you are a developer:

dependencies:
  rethinkdb_dart:
    path: /path/to/your/cloned/rethinkdb_dart

Then import the package into your project:

import 'package:rethinkdb_dart/rethinkdb_dart.dart';

Connect to the database:

var connection = await r.connect(db: "test", host: "localhost", port: 28015);

Create a table:

await r.db('test').tableCreate('tv_shows').run(connection);

Insert some data:

await r.table('tv_shows').insert([
      {'name': 'Star Trek TNG', 'episodes': 178},
      {'name': 'Battlestar Galactica', 'episodes': 75}
    ]).run(connection);

And work with the data:

var count = await r.table('tv_shows').count();
print("count: $count");

To update protobuf execute the following command from the project root:

bash lib/src/generated/regenerate-proto.sh

To run tests execute the following command from the project root:

warning: tests are run against a live database, but they do attempt to clean up after themselves

pub run test  

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 4 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।