Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
buenaflor committed Feb 14, 2025
1 parent 5950868 commit 5220270
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions drift/example/example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,15 @@ Future<void> runApp() async {
final db = AppDatabase(executor);

await db.transaction(() async {
await db
.into(db.todoItems)
.insert(
await db.into(db.todoItems).insert(
TodoItemsCompanion.insert(
title: 'This is a test thing',
content: 'test',
),
);

await db.transaction(() async {
await db
.into(db.todoItems)
.insert(
await db.into(db.todoItems).insert(
TodoItemsCompanion.insert(
title: 'This is a test thing in the tx',
content: 'test',
Expand Down

0 comments on commit 5220270

Please sign in to comment.