Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1004)

Issue 4248045: python-sql: select examples (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by ced
Modified:
12 years, 4 months ago
Reviewers:
bch, nicoe, thomas.sharoon
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Don't use list for select but *args #

Patch Set 3 : Implementation of the examples #

Patch Set 4 : Implement all comparison operators #

Total comments: 9

Patch Set 5 : Add all aggregate functions #

Patch Set 6 : Improve JOIN, alias thread-safe, add subquery #

Patch Set 7 : Add Insert and Delete queries #

Total comments: 29

Patch Set 8 : Fix comments #

Patch Set 9 : Refactoring and add more operators #

Total comments: 2

Patch Set 10 : Use property to assert values #

Patch Set 11 : Add __slots__ #

Patch Set 12 : Add order_by example #

Patch Set 13 : Rename pysql into python-sql #

Patch Set 14 : Add missing import #

Patch Set 15 : Pyflakes and pep8 #

Patch Set 16 : Add setup.py and fix AliasManager for Python 2.7 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1415 lines, -0 lines) Patch
A COPYRIGHT View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
A LICENSE View 1 2 1 chunk +165 lines, -0 lines 0 comments Download
A MANIFEST.in View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
A README View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +117 lines, -0 lines 0 comments Download
A setup.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +32 lines, -0 lines 0 comments Download
A sql/__init__.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +664 lines, -0 lines 0 comments Download
A sql/aggregate.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +78 lines, -0 lines 0 comments Download
A sql/conditionals.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
A sql/functions.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +9 lines, -0 lines 0 comments Download
A sql/operators.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +328 lines, -0 lines 0 comments Download

Messages

Total messages: 25
ced
13 years, 2 months ago (2011-02-26 14:12:54 UTC) #1
ced
13 years ago (2011-04-08 09:24:33 UTC) #2
ced
12 years, 9 months ago (2011-07-23 18:33:56 UTC) #3
ced
12 years, 9 months ago (2011-07-23 23:01:47 UTC) #4
nicoe
http://codereview.appspot.com/4248045/diff/15001/examples.rst File examples.rst (right): http://codereview.appspot.com/4248045/diff/15001/examples.rst#newcode28 examples.rst:28: >>> select.where = user.name == 'foo' I prefer select.where(*conditions) ...
12 years, 9 months ago (2011-07-24 10:07:41 UTC) #5
ced
http://codereview.appspot.com/4248045/diff/15001/examples.rst File examples.rst (right): http://codereview.appspot.com/4248045/diff/15001/examples.rst#newcode28 examples.rst:28: >>> select.where = user.name == 'foo' On 2011/07/24 10:07:41, ...
12 years, 9 months ago (2011-07-24 10:17:33 UTC) #6
nicoe
http://codereview.appspot.com/4248045/diff/15001/examples.rst File examples.rst (right): http://codereview.appspot.com/4248045/diff/15001/examples.rst#newcode28 examples.rst:28: >>> select.where = user.name == 'foo' On 2011/07/24 10:17:33, ...
12 years, 9 months ago (2011-07-24 13:38:42 UTC) #7
ced
http://codereview.appspot.com/4248045/diff/15001/examples.rst File examples.rst (right): http://codereview.appspot.com/4248045/diff/15001/examples.rst#newcode28 examples.rst:28: >>> select.where = user.name == 'foo' On 2011/07/24 13:38:43, ...
12 years, 9 months ago (2011-07-24 13:46:01 UTC) #8
ced
12 years, 9 months ago (2011-07-26 13:38:17 UTC) #9
ced
12 years, 9 months ago (2011-07-27 14:34:58 UTC) #10
ced
12 years, 9 months ago (2011-07-27 23:03:47 UTC) #11
thomas.sharoon
http://codereview.appspot.com/4248045/diff/24002/pysql/__init__.py File pysql/__init__.py (right): http://codereview.appspot.com/4248045/diff/24002/pysql/__init__.py#newcode67 pysql/__init__.py:67: one more <BLANKLINE> to ensure consistency of space b/w ...
12 years, 9 months ago (2011-07-28 00:25:55 UTC) #12
thomas.sharoon
http://codereview.appspot.com/4248045/diff/24002/pysql/__init__.py File pysql/__init__.py (right): http://codereview.appspot.com/4248045/diff/24002/pysql/__init__.py#newcode106 pysql/__init__.py:106: self.order_by = order_by if order_by is not None: assert ...
12 years, 9 months ago (2011-07-28 00:30:09 UTC) #13
nicoe
http://codereview.appspot.com/4248045/diff/24002/pysql/__init__.py File pysql/__init__.py (right): http://codereview.appspot.com/4248045/diff/24002/pysql/__init__.py#newcode411 pysql/__init__.py:411: 'LIKE', 'NOT LIKE', 'ILIKE', 'NOT ILIKE', 'IS NULL', 'IS ...
12 years, 9 months ago (2011-07-28 08:33:45 UTC) #14
ced
http://codereview.appspot.com/4248045/diff/24002/pysql/__init__.py File pysql/__init__.py (right): http://codereview.appspot.com/4248045/diff/24002/pysql/__init__.py#newcode67 pysql/__init__.py:67: On 2011/07/28 00:25:55, thomas.sharoon wrote: > one more <BLANKLINE> ...
12 years, 9 months ago (2011-07-28 21:47:41 UTC) #15
ced
12 years, 9 months ago (2011-07-28 21:47:54 UTC) #16
ced
12 years, 9 months ago (2011-07-30 14:01:36 UTC) #17
ced
12 years, 9 months ago (2011-07-30 14:53:02 UTC) #18
thomas.sharoon
http://codereview.appspot.com/4248045/diff/9006/examples.rst File examples.rst (right): http://codereview.appspot.com/4248045/diff/9006/examples.rst#newcode9 examples.rst:9: Select Statement no example of order_by http://codereview.appspot.com/4248045/diff/9006/pysql/__init__.py File pysql/__init__.py ...
12 years, 9 months ago (2011-07-30 15:31:42 UTC) #19
ced
12 years, 9 months ago (2011-07-30 15:46:21 UTC) #20
ced
12 years, 9 months ago (2011-07-30 15:56:29 UTC) #21
ced
12 years, 8 months ago (2011-08-06 21:59:01 UTC) #22
ced
12 years, 8 months ago (2011-08-16 15:00:01 UTC) #23
ced
12 years, 5 months ago (2011-11-15 12:56:10 UTC) #24
ced
12 years, 4 months ago (2011-12-01 16:26:48 UTC) #25

          
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b