Skip to content

Commit a65803c

Browse files
committed
Updated readme.
1 parent b1e7e1d commit a65803c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ Changelog
33

44
* 0.7.1 (November 28th, 2017)
55
* Added support for sending invoices.
6+
* Added count to ListMixin.
7+
* Fixed issue with PDF file attachments in Python 2.
8+
* Removed duplicate coverage depnedency.
69

710
* 0.7.0 (August 31st, 2017)
811
* Added support for OAuth 2.0

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,12 @@ Filtering a list with a custom query with paging:
244244
245245
customers = Customer.query("SELECT * FROM Customer WHERE Active = True STARTPOSITION 1 MAXRESULTS 25", qb=client)
246246
247+
Get record count (do not include the ``"WHERE"``):
248+
249+
.. code-block:: python
250+
251+
customer_count = Customer.count("Active = True AND CompanyName LIKE 'S%'", qb=client)
252+
247253
Get single object by Id and update:
248254

249255
.. code-block:: python

0 commit comments

Comments
 (0)