Skip to content

Commit 5639184

Browse files
authored
Merge pull request #5 from phel-lang/fix/issue-3
doc: add note about return value of `statement/execute` #3
2 parents cac6791 + 9245f88 commit 5639184

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
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

README.md

Lines changed: 3 additions & 0 deletions
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)