Menu

#106 Documentation for "create type" is not included

next_release
open
nobody
None
3
2015-07-13
2015-07-13
Eirik Lygre
No

The type below parses OK, but the comment does not appear in the pldoc output. Adding a @headcom helps, but that ought to not be necessary.

Eirik

/**
 * Sample type, with two values.
 *
 * The default (implicit) constructor has all fields, in 
 * order, so pldoc must preserve the variable order in output.
 * Create as sample_type(start_date, end_date).
 *
 * This comment should be in the output, too, as a description
 * of the type.
 */
CREATE OR REPLACE TYPE sample_type AS OBJECT
(
    /** Start date. First parameter, hence first parameter in constructor. */
    start_date  date,
    /** End date. Second value, hence second parameter in constructor */
    end_date date
 );
/

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.