E&S CVS Commit: PEAK - More refactorings and simplifications:

pje at eby-sarna.com pje at eby-sarna.com
Wed Oct 22 19:41:01 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Wed Oct 22 23:40:15 UTC 2003

Modified Files:
	PEAK/src/peak/query: algebra.py

Log Message:
More refactorings and simplifications:

* Merged Projection into BasicJoin, so a BasicJoin conveniently contains
  everything needed to generate a simple SQL SELECT

* Refactor BasicJoin to be a subclass of Table, removing various methods
  that were duplicated between the two.

* Made & and | of a condition with 'None' into a no-op, thus making it
  possible to have a BasicJoin with a condition of 'None' (e.g. for a
  SELECT with no WHERE clause).


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/query/algebra.py.diff?r1=1.6&r2=1.7

To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/query/algebra.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list