Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnimplementedError: InsertMany is not implemented yet! #187

Open
Park57 opened this issue May 6, 2020 · 0 comments
Open

UnimplementedError: InsertMany is not implemented yet! #187

Park57 opened this issue May 6, 2020 · 0 comments

Comments

@Park57
Copy link

Park57 commented May 6, 2020

Hello ! i don't understand that error

`main() async {

final _adapter = PgAdapter('bibliotheque', username: 'postgres', password: 'password1234');

await _adapter.connect();
//create beans
final albumBean = AlbumBean(_adapter);

Album slipknot = new Album("We are not",1687);
Album skillet = new Album("Victorious",1745);
Album amonamarth = new Album("Berserker",2038);

List listeAlb = new List();
listeAlb.add(slipknot);
listeAlb.add(skillet);
listeAlb.add(amonamarth);

albumBean.insertMany(listeAlb);

await _adapter.close();`

D:\Projet Dart\lel>dart "d:\Projet Dart\lel\lib\main.dart"
lib/main.dart: Warning: Interpreting this as package URI, 'package:lel/main.dart'.
Unhandled exception:
UnimplementedError: InsertMany is not implemented yet!
#0 PgAdapter.insertMany (package:jaguar_query_postgres/src/adapter.dart:85:5)
#1 _AlbumBean.insertMany (package:lel/album.jorm.dart:110:21)
#2 main (package:lel/main.dart:23:13)

#3 _startIsolate. (dart:isolate-patch/isolate_patch.dart:307:19)
#4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

Thanks for your help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant