datastore 0.1.3 copy "datastore: ^0.1.3" to clipboard
datastore: ^0.1.3 copied to clipboard

discontinued
outdated

Enables developers to use document databases and information retrieval systems. Various adapters are available in this and other packages.

example/example.dart

import 'package:datastore/datastore.dart';

void main() async {
  // Choose a datastore
  final datastore = Datastore.defaultInstance;

  // Search
  final response = await datastore.collection('people').search(
        query: Query.parse(
          '"software developer" (dart OR javascript)',
          take: 10,
        ),
      );

  // Print results
  for (var snapshot in response.snapshots) {
    print('Employee ID: ${snapshot.document.documentId}');
    print('Employee name: ${snapshot.data['name']}');
    print('');
  }
}
0
likes
30
points
25
downloads

Publisher

verified publisherdint.dev

Weekly Downloads

Enables developers to use document databases and information retrieval systems. Various adapters are available in this and other packages.

License

Apache-2.0 (license)

Dependencies

charcode, collection, firebase, fixnum, googleapis, googleapis_auth, grpc, http, meta, protobuf, test_io, universal_html, universal_io

More

Packages that depend on datastore