James McIntosh

Results 44 comments of James McIntosh

@boldt In the 2.16.0 release of Dart (currently in Flutter beta channel if you use Flutter) it will remove unused imports when you run the `dart fix` command.

Something like this should be able to do it, you'll just have to choose the correct composer for your database, in this case SQFlite. ``` import 'package:jaguar_query/jaguar_query.dart'; import 'package:jaguar_query_sqflite/composer.dart'; class...

Included in PR https://github.com/Jaguar-dart/jaguar_orm/pull/198

@muhammadfaheem-pycom The jorm.dart files are generated when you run `flutter pub run build_runner build`, they contain the extensions to your Bean. I'd recommending closing this issue if you've solved the...

@SebastienSCochet I did a null-safe migration of the LegacyV3 branch, not sure if that helps https://github.com/JamesMcIntosh/jaguar_orm/tree/legacyV3 It's not too far of what's actually in master, doesn't seem like much has...

@isaacfi That's a shame you had to do all the same work again when we could have improved the existing pull request... It would be helpful to get some feedback...

Hi @isaacfi, By "same" I mean we both did work to get the code null-safe. I have tested but not with relationships, thanks for letting me know. I'll see if...

Another area which Optional could be introduced is in the generated bean's find ``` Future get(int id) ```

The SqlLite guys are a very performance driven, I'm pretty sure you wouldn't notice it in a normal app. The advantage of this behaviour comes when you are missing foreign...

@jbrechbuehl As a hack when creating the tables you can add AUTOINCREMENT to the create statement by replacing: `INTEGER PRIMARY KEY NOT NULL` with `INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL`...