gel 0.6.0 copy "gel: ^0.6.0" to clipboard
gel: ^0.6.0 copied to clipboard

Official Dart client library for Gel, a database built on Postgres with a modern data model, graph queries, built-in Auth & AI solutions, and more.

example/lib/gel_example.dart

import 'package:gel/gel.dart';

import 'getMoviesStarring.edgeql.dart';

void main() async {
  final client = createClient();

  final movies = await client.getMoviesStarring(name: 'Ben Kingsley');

  for (var movie in movies) {
    print('Title: ${movie.title}\n'
        'Release Year: ${movie.release_year}\n'
        'Cast:\n${movie.actors.map((actor) {
      return '  ${actor.$character_name}: ${actor.name}';
    }).join('\n')}\n');
  }

  await client.close();
}
1
likes
140
points
25
downloads

Documentation

API reference

Publisher

verified publishergeldata.com

Weekly Downloads

Official Dart client library for Gel, a database built on Postgres with a modern data model, graph queries, built-in Auth & AI solutions, and more.

Homepage
Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

build, code_builder, crypto, dart_style, path, pub_semver

More

Packages that depend on gel