kennethreitz
27d8efd200
Merge pull request #91 from TomFaulkner/patch-1
...
CLI function docstring requires format should be optional
2017-01-06 13:54:16 -05:00
kennethreitz
4be104d024
travis.yml
2016-12-20 13:04:48 -05:00
kennethreitz
99eaf62867
updated readme with shields
2016-12-20 13:04:43 -05:00
kennethreitz
42a7e78dc0
fix dir for super
2016-12-20 13:02:30 -05:00
TomFaulkner
39036fcb8a
CLI function docstring requires format should be optional
...
Changed line 327 to have format as optional parameter as lines 385-389 imply should be the case.
Old: records <query> <format> [<params>...] [--url=<url>]
New: records <query> [<format>] [<params>...] [--url=<url>]
2016-12-19 15:15:28 -06:00
kennethreitz
292bd56fa3
Merge pull request #87 from vsandeepsrivastav/master
...
re was imported but never used so removed the same, line 20 in the o…
2016-12-14 10:42:11 -08:00
vsandeepsrivastav
5c24ea7ea0
re was imported but never used so removed the same, line 20 in the original file needed two blank lines before function definition added the same and extra spaces around the operator in line 34 removed the same.
2016-12-14 16:20:17 +05:30
kennethreitz
4038d9dc21
Merge pull request #43 from whit537/one
...
add a .first method to RecordCollections
2016-11-22 01:42:40 -05:00
Chad Whitacre
1217c9eea2
Fix regression in test name :o)
2016-11-21 19:46:42 -05:00
Chad Whitacre
617f02c621
Prune unused imports while we're here
2016-11-21 19:45:09 -05:00
Chad Whitacre
16321e4ae4
Update README
2016-11-21 19:44:51 -05:00
Chad Whitacre
3b7438f130
Update docstring/comment re: raising default
2016-11-21 19:41:51 -05:00
Chad Whitacre
7588c1ca2b
Rename .one to .first
2016-11-21 19:41:22 -05:00
Chad Whitacre
85fbec787a
Switch to index access for idiomaticity
2016-11-21 19:33:31 -05:00
Chad Whitacre
fafaca6a96
Fix tests for raising one(default)
2016-11-21 19:33:31 -05:00
Chad Whitacre
ef9938623b
Note .one in the README
2016-11-21 19:33:30 -05:00
Chad Whitacre
1d1d423245
Raise default if it's an exception
2016-11-21 19:33:30 -05:00
Chad Whitacre
e7da94b249
Add a .one method to RecordCollections
...
It's a common use-case to want one and only one result from a query.
This adds a .one method to RecordCollections that is parallel to .all.
2016-11-21 19:33:00 -05:00
kennethreitz
9e65833117
Merge pull request #55 from Brobin/master
...
Retrieve attributes using super instead of hard-coding
2016-11-21 19:28:26 -05:00
kennethreitz
78c6c00db1
Merge pull request #65 from varunagrawal/master
...
Zero Rows Check
2016-11-20 17:39:08 -05:00
kennethreitz
6073ee5f23
v0.5.0
2016-11-15 09:45:50 -05:00
kennethreitz
3bd546a946
v0.5.0
v0.5.0
2016-11-15 09:45:09 -05:00
kennethreitz
d2444bb223
Update README.rst
2016-11-15 09:43:29 -05:00
kennethreitz
9f6c68df14
Merge pull request #58 from fictorial/master
...
Add support for transactions
2016-11-15 09:40:58 -05:00
kennethreitz
a49f8aa5c5
Merge pull request #66 from jmcs/patch-1
...
Pass Database.__init__ kwargs to create_engine
2016-08-22 07:08:04 -04:00
kennethreitz
133532bdc3
Merge pull request #73 from tuladhar/patch-1
...
Fixed typo in assert comment
2016-07-26 00:23:15 -04:00
Puru
439fadf692
Fixed typo in assert comment
2016-07-19 09:58:47 +05:45
kennethreitz
76348259f4
Merge pull request #72 from waldyrious/patch-2
...
wrap text in license file
2016-07-01 14:44:33 -04:00
Waldir Pimenta
6561cc4651
wrap text in license file
2016-07-01 19:43:30 +01:00
João Santos
e936a530cc
Pass Database.__init__ kwargs to create_engine
...
This change allows setting the behaviour of the SQLAlchemy engine (for example setting check_same_thread to False for sqlite3 databases).
2016-05-05 19:26:34 +02:00
Varun Agrawal
98ac44d450
added check for if zero rows are returned by query
2016-04-12 20:36:34 -04:00
Brian Hammond
e46cacdd82
Not using pytest.raises anymore so no need to import pytest
2016-02-29 10:43:51 -05:00
Brian Hammond
67deca59a3
Add support for transactions
2016-02-29 10:39:13 -05:00
kennethreitz
52351e8ff4
Merge pull request #57 from Phrohdoh/add-sqlite-example
...
Add example usage with sqlite
2016-02-27 19:48:24 -05:00
Taryn Hill
1fc16b5273
Add example usage with sqlite
2016-02-27 18:47:14 -06:00
Brobin
5fe76db02a
add test for Record __dir__ method
2016-02-23 15:54:40 -06:00
Brobin
7a482e687d
Retrieve attributes using super instead of hard-coding
2016-02-23 15:42:28 -06:00
kennethreitz
70da4b8214
Merge pull request #54 from Brobin/master
...
Allow calling `as_dict` on entire RecordCollection
2016-02-23 15:09:24 -05:00
Brobin
d9a5396c1d
allow calling as_dict on entire RecordCollection
2016-02-23 13:42:18 -06:00
kennethreitz
6e0e61c3b7
Update README.rst
2016-02-20 20:02:07 -05:00
kennethreitz
e19a841256
Merge pull request #48 from EmilStenstrom/patch-1
...
Replace reference to spam_user with print to remove some confusion
2016-02-16 11:23:25 -05:00
kennethreitz
fdd34ebdef
v0.4.3
v0.4.3
2016-02-16 03:23:54 -05:00
kennethreitz
fd754dd3f3
remove cli cake for @abbazs
...
#50 the cake is a lie ayway
2016-02-16 03:22:11 -05:00
Emil Stenström
f96bc34f91
Replace reference to spam_user with print to remove some confusion
2016-02-15 21:06:34 +01:00
kennethreitz
324d3516e2
v0.4.2
v0.4.2
2016-02-15 00:37:34 -05:00
kennethreitz
c20c1de27c
v0.4.1
2016-02-15 00:25:47 -05:00
kennethreitz
e896dc4544
Merge pull request #47 from sk2/patch-1
...
Correct Seperated -> Separated
2016-02-14 11:50:28 -05:00
Simon Knight
9f2778145d
Correct Seperated -> Separated
2016-02-15 02:49:34 +10:30
kennethreitz
f1f5e6f62f
Merge pull request #46 from TechnoLoft/master
...
Update README -> Python 3. Update `requirements.txt`.
2016-02-14 04:17:53 -05:00
Ryan Jarvis
0948bffebb
Update README to be Python 3 compliant. Update requirements.txt to reflect current package requirements.
2016-02-13 09:56:55 -08:00