Skip to content

Commit

Permalink
Merge pull request drizzle-team#2500 from 7flash/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
AndriiSherman authored Jul 23, 2024
2 parents 222d30c + adbe837 commit bdbadeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drizzle-orm/src/sqlite-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ import Database from 'better-sqlite3';
const sqlite = new Database('sqlite.db');
const db: BetterSQLite3Database = drizzle(sqlite);

const result: User[] = db.select().from(users).all();
const result: User[] = await db.select().from(users).all();

const insertUser = (user: InsertUser) => {
return db.insert(users).values(user).run()
Expand Down

0 comments on commit bdbadeb

Please sign in to comment.