Project

General

Profile

Actions

Bug #97

closed

combine printExtendedSQL and printSQL methods into one

Added by Chad Berkley about 24 years ago. Updated over 22 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.

Actions #1

Updated by Chad Berkley about 24 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.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 97

Actions

Also available in: Atom PDF