E&S CVS Commit: PEAK - Add an "insert.*" cursor format. "insert.foo" Generates INSERT

tsarna at eby-sarna.com tsarna at eby-sarna.com
Fri Oct 15 18:59:00 EDT 2004


Module Name:	PEAK
Committed By:	tsarna
Date:		Fri Oct 15 22:58:55 UTC 2004

Modified Files:
	PEAK/src/peak: peak.ini
	PEAK/src/peak/storage: cursor_formatters.py

Log Message:
Add an "insert.*" cursor format.  "insert.foo" Generates INSERT
statments into the table "foo". Silly example:

1> select 1 as one, 2 as two
2> go -m insert.foo
INSERT INTO foo (one, two) VALUES (1, 2)
go

XXX not tested with dates. Most of these probably don't handle them right.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/peak.ini.diff?r1=1.149&r2=1.150
http://cvs.eby-sarna.com/PEAK/src/peak/storage/cursor_formatters.py.diff?r1=1.11&r2=1.12

To generate a diff of this commit:
cvs rdiff -r1.149 -r1.150 PEAK/src/peak/peak.ini
cvs rdiff -r1.11 -r1.12 PEAK/src/peak/storage/cursor_formatters.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