Skip to content

Commit

Permalink
less
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospaciari committed Jan 21, 2025
1 parent 8ced041 commit c15d5de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const user = {
};

const [user] = await sql`INSERT INTO users ${sql(user)} RETURNING *`;
console.log(user); // { id: 1, name: "Alice", email: "[email protected]", age: 25 }
// { id: 1, name: "Alice", email: "[email protected]", age: 25 }
```

The API is simple and fast, Credit to [postgres.js](https://github.com/porsager/postgres) and its contributors for inspiring the API of `Bun.sql`.
Expand Down

0 comments on commit c15d5de

Please sign in to comment.