Project

General

Profile

Bug #97

combine printExtendedSQL and printSQL methods into one

Added by Chad Berkley over 19 years ago. Updated over 17 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
marine
Target version:
Start date:
08/23/2000
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
97

Description

The printExtendedSQL and printSQL methods of QuerySpecification can be combined
into one method that works like printExtendedSQL but takes all of its parameters
except for doctype from the returnfield tag in the pathquery document.

History

#1 Updated by Chad Berkley about 19 years ago

At this time, I think it is better to leave the two methods seperate. It is
cleaner to do it this way because even if there are no return fields, if the
query is successful certain fields (from xml_documents) will be returned. Also,
since each method is querying from a different table, combining the queries will
make the functionality less clear in the code and may result in a less efficient
query. We can revisit this at a later time if necessary.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 97

Also available in: Atom PDF