cyql.git
3 years agoCommit a path to access result rows via generator. master
Jay Freeman (saurik) [Sun, 17 Jan 2016 06:10:12 +0000 (06:10 +0000)] 
Commit a path to access result rows via generator.

4 years agoOn production websites, connections are by pipes.
Jay Freeman (saurik) [Mon, 7 Jul 2014 07:33:45 +0000 (07:33 +0000)] 
On production websites, connections are by pipes.

4 years agoSupport poorly-designed WebCyte "maintenance mode".
Jay Freeman (saurik) [Mon, 7 Jul 2014 07:26:44 +0000 (07:26 +0000)] 
Support poorly-designed WebCyte "maintenance mode".

6 years agoActually cache the hstore OID in the cache.
Jay Freeman (saurik) [Tue, 5 Feb 2013 08:57:12 +0000 (08:57 +0000)] 
Actually cache the hstore OID in the cache.

6 years agoCache the information about OIDs.
Jay Freeman (saurik) [Tue, 5 Feb 2013 07:34:06 +0000 (07:34 +0000)] 
Cache the information about OIDs.

6 years agoFix set(): it needs to skip @contextmanager.
Jay Freeman (saurik) [Mon, 4 Jun 2012 19:43:10 +0000 (19:43 +0000)] 
Fix set(): it needs to skip @contextmanager.

7 years agoPass-through exception instead of re-raising.
Jay Freeman (saurik) [Sun, 25 Dec 2011 21:41:34 +0000 (21:41 +0000)] 
Pass-through exception instead of re-raising.

7 years agoRemove UNICODE override.
Jay Freeman (saurik) [Mon, 28 Nov 2011 12:30:47 +0000 (12:30 +0000)] 
Remove UNICODE override.

7 years agoSwitch to psycopg2 autocommit syntax.
Jay Freeman (saurik) [Mon, 28 Nov 2011 12:16:00 +0000 (12:16 +0000)] 
Switch to psycopg2 autocommit syntax.

7 years agoAdd features to support database.py.
Jay Freeman (saurik) [Mon, 28 Nov 2011 10:35:34 +0000 (10:35 +0000)] 
Add features to support database.py.

7 years agoCatch the right exception class.
Jay Freeman (saurik) [Wed, 23 Nov 2011 03:42:52 +0000 (03:42 +0000)] 
Catch the right exception class.

7 years agoAdd back hstore.
Jay Freeman (saurik) [Wed, 23 Nov 2011 03:38:25 +0000 (03:38 +0000)] 
Add back hstore.

7 years agoRemove hstore.
Jay Freeman (saurik) [Wed, 23 Nov 2011 03:35:25 +0000 (03:35 +0000)] 
Remove hstore.

7 years agoAdd support for hstore bridge adapter.
Jay Freeman (saurik) [Wed, 23 Nov 2011 03:10:18 +0000 (03:10 +0000)] 
Add support for hstore bridge adapter.

7 years agoI seriously have to register_type(UNICODEARRAY)? :(
Jay Freeman (saurik) [Wed, 31 Aug 2011 08:06:21 +0000 (08:06 +0000)] 
I seriously have to register_type(UNICODEARRAY)? :(

8 years agoAdd context argument to sql.one().
Jay Freeman (saurik) [Sat, 19 Mar 2011 02:13:53 +0000 (02:13 +0000)] 
Add context argument to sql.one().

8 years agoUse s formatting flag for %{} and assert it for %()s.
Jay Freeman (saurik) [Sat, 5 Feb 2011 21:24:27 +0000 (21:24 +0000)] 
Use s formatting flag for %{} and assert it for %()s.

8 years agoAdd custom context support back.
Jay Freeman (saurik) [Sat, 5 Feb 2011 21:21:04 +0000 (21:21 +0000)] 
Add custom context support back.

8 years agoNew SQL expression formatting.
Jay Freeman (saurik) [Sat, 5 Feb 2011 21:10:37 +0000 (21:10 +0000)] 
New SQL expression formatting.

8 years agoUse as much new syntax as possible.
Jay Freeman (saurik) [Wed, 2 Feb 2011 11:03:32 +0000 (11:03 +0000)] 
Use as much new syntax as possible.

8 years agoRemove cyql.one(), using structuring assignment instead.
Jay Freeman (saurik) [Wed, 2 Feb 2011 10:41:45 +0000 (10:41 +0000)] 
Remove cyql.one(), using structuring assignment instead.

8 years agoRename cyql.connect() to overtake connect() and make it support with.
Jay Freeman (saurik) [Wed, 2 Feb 2011 10:40:59 +0000 (10:40 +0000)] 
Rename cyql.connect() to overtake connect() and make it support with.

8 years agoNew kw-based @cyql.connected().
Jay Freeman (saurik) [Fri, 21 Jan 2011 19:29:17 +0000 (19:29 +0000)] 
New kw-based @cyql.connected().

8 years agoSupport arguments to cyql.transact().
Jay Freeman (saurik) [Wed, 19 Jan 2011 16:14:33 +0000 (16:14 +0000)] 
Support arguments to cyql.transact().

8 years agoThis interface is actually getting closer to what I want.
Jay Freeman (saurik) [Sat, 15 Jan 2011 09:28:36 +0000 (09:28 +0000)] 
This interface is actually getting closer to what I want.

8 years agoReplace pull/push with new __call__/set/all/one features.
Jay Freeman (saurik) [Thu, 13 Jan 2011 06:03:34 +0000 (06:03 +0000)] 
Replace pull/push with new __call__/set/all/one features.

8 years agoGeneralize context as argument to execute().
Jay Freeman (saurik) [Thu, 13 Jan 2011 06:03:13 +0000 (06:03 +0000)] 
Generalize context as argument to execute().

8 years agoAdd execute_() and push_() that take a manual locals.
Jay Freeman (saurik) [Tue, 11 Jan 2011 02:27:20 +0000 (02:27 +0000)] 
Add execute_() and push_() that take a manual locals.

8 years agoHandle exists() with format arguments.
Jay Freeman (saurik) [Tue, 12 Oct 2010 08:06:04 +0000 (08:06 +0000)] 
Handle exists() with format arguments.

8 years agoForgot a critical self.
Jay Freeman (saurik) [Tue, 10 Aug 2010 18:01:29 +0000 (18:01 +0000)] 
Forgot a critical self.

8 years agoAdd exists(), refactoring yank() to take an argument for offset (required as a utility).
Jay Freeman (saurik) [Fri, 30 Jul 2010 07:21:07 +0000 (07:21 +0000)] 
Add exists(), refactoring yank() to take an argument for offset (required as a utility).

8 years agoExplicit inspect.currentframe() cycle break.
Jay Freeman (saurik) [Wed, 30 Jun 2010 01:41:14 +0000 (01:41 +0000)] 
Explicit inspect.currentframe() cycle break.

8 years agoAdd @cyql.connected() decorator to make functions that operate with database connecti...
Jay Freeman (saurik) [Wed, 12 May 2010 12:53:22 +0000 (12:53 +0000)] 
Add @cyql.connected() decorator to make functions that operate with database connections simpler to deploy.

8 years agoAdd global cyq.transact() helper to make single transaction connections simpler.
Jay Freeman (saurik) [Wed, 12 May 2010 12:52:31 +0000 (12:52 +0000)] 
Add global cyq.transact() helper to make single transaction connections simpler.

8 years agoAdjusted inspect.currentframe() to account for @contextmanager.
Jay Freeman (saurik) [Wed, 12 May 2010 12:51:33 +0000 (12:51 +0000)] 
Adjusted inspect.currentframe() to account for @contextmanager.

8 years agoMove back to Python 2.6 and fix up all of the naming.
Jay Freeman (saurik) [Wed, 12 May 2010 12:16:36 +0000 (12:16 +0000)] 
Move back to Python 2.6 and fix up all of the naming.

8 years agoRecovered the initial version from Scroud.
Jay Freeman (saurik) [Tue, 11 May 2010 11:39:02 +0000 (11:39 +0000)] 
Recovered the initial version from Scroud.