Skip to content

Commit 9245f88

Browse files
committed
doc: add note about return value of statement/execute #3
close #3
1 parent cac6791 commit 9245f88

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
### Bugfix
55

66
* rename keyowrd -> keyword #2 (@jasalt)
7+
* doc: add note about return value of `statement/execute` #3
78

89
## v0.0.7 (2024-06-24)
910

Diff for: README.md

+3
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ Returns an SQL prepared command
199199

200200
Executes a prepared statement
201201

202+
> [!NOTE]
203+
> The return value of the original library, `PDOStatement::execute()`, is a `bool` value representing the result of the `execute` method, while the return value of `statement/execute` returns the statement itself.
204+
202205
```clojure
203206
(execute statement)
204207
```

0 commit comments

Comments
 (0)