edgedb 0.5.1 copy "edgedb: ^0.5.1" to clipboard
edgedb: ^0.5.1 copied to clipboard

Official Dart client library for EdgeDB

example/lib/edgedb_example.dart

import 'package:edgedb/edgedb.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();
}
13
likes
140
points
112
downloads

Publisher

verified publisheredgedb.com

Weekly Downloads

Official Dart client library for EdgeDB

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

build, code_builder, crypto, dart_style, path

More

Packages that depend on edgedb