Skip to content

Commit 6281a97

Browse files
committed
docs: add enhancement the changelog
1 parent df9a822 commit 6281a97

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

user_guide_src/source/changelogs/v4.3.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ Database
141141
- Added ``when()`` and ``whenNot()`` methods to conditionally add clauses to the query. See :ref:`BaseBuilder::when() <db-builder-when>` for details.
142142
- Added the ability to manually set index names. These methods include: ``Forge::addKey()``, ``Forge::addPrimaryKey()``, and ``Forge::addUniqueKey()``
143143
- Fixed ``Forge::dropKey()`` to allow droping unique indexes. This required the ``DROP CONSTRAINT`` SQL command.
144+
- ``BasePreparedQuery::close()`` now deallocates the prepared statement in all DBMS. Previously, they were not deallocated in Postgre, SQLSRV and OCI8. See :ref:`database-queries-stmt-close`.
144145

145146
Model
146147
=====

user_guide_src/source/database/queries.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ Other Methods
232232

233233
In addition to these two primary methods, the prepared query object also has the following methods:
234234

235+
.. _database-queries-stmt-close:
236+
235237
close()
236238
-------
237239

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?php
22

3-
$pQuery->close();
3+
$bool = $pQuery->close();

0 commit comments

Comments
 (0)