Opened 14 years ago

Closed 10 years ago

#34 closed enhancement (wontfix)

remove --contents option from directql

Reported by: Peter Baumann Owned by: Dimitar Misev
Priority: trivial Milestone: Future
Component: applications Version: 8.3
Keywords: Cc:
Complexity: Very Hard

Description

the mechanics of —content is implied with "—out t"; actually, rasql only uses —out, so also for reasons of coherence —content should vanish.

Change History (3)

comment:1 by Dimitar Misev, 13 years ago

Owner: set to Dimitar Misev
Status: newaccepted

comment:2 by Peter Baumann, 11 years ago

Milestone: Future
Version: 8.3

comment:3 by Dimitar Misev, 10 years ago

Complexity: Very Hard
Resolution: wontfix
Status: acceptedclosed

rasql --help also gives me

       --content 
              display result, if any (see also --out and --type for output formatting)

so it's coherent as it is now. But it is indeed useless.

If no --out is specified, then --content gives only the number of results returned which may be useful, e.g.

$ rasql -q 'select c from RAS_COLLECTIONNAMES AS c' --out string
rasql: rasdaman query tool v1.0, rasdaman v9.0.1-gdfd1bc5 -- generated on 07.04.2014 10:31:11.
opening database RASBASE at localhost:7001...ok
Executing retrieval query...ok
Query result collection has 3 element(s):
  Result object 1: mr
  Result object 2: mr2
  Result object 3: rgb
rasql done.

$ rasql -q 'select c from RAS_COLLECTIONNAMES AS c' --content
rasql: rasdaman query tool v1.0, rasdaman v9.0.1-gdfd1bc5 -- generated on 07.04.2014 10:31:11.
opening database RASBASE at localhost:7001...ok
Executing retrieval query...ok
Query result collection has 3 element(s):
rasql done.

So I'd close this ticket as wontfix.

Note: See TracTickets for help on using tickets.