jaguar_orm icon indicating copy to clipboard operation
jaguar_orm copied to clipboard

UnimplementedError: InsertMany is not implemented yet!

Open Park57 opened this issue 4 years ago • 0 comments

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<Album> listeAlb = new List<Album>(); 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 !

Park57 avatar May 06 '20 09:05 Park57