Merges two optional strings into a single optional string. If both po and no are defined, the resulting string is their concatenation in the format po.no. If only one of the options is defined, it returns that single option. If neither are defined, it returns None.
Merges two optional strings into a single optional string. If both po and no are defined, the resulting string is their concatenation in the format po.no. If only one of the options is defined, it returns that single option. If neither are defined, it returns None.
Value parameters
no
an optional suffix string; if defined, it will form the second part of the resulting string.
po
an optional prefix string; if defined, it will form the first part of the resulting string.
Attributes
Returns
an optional string in the format po.no if both options are defined, or the defined option if only one is present, or None if both are None.
Method to generate the column names of the fields of T. The name of the enclosing field (if any) is no (or po, if that is all there is): each field's column name is then helper.lookup(that name, field name), as in CellParser.derived. A field which is itself a case class is given its column name as the name of its enclosing field.
Method to generate the column names of the fields of T. The name of the enclosing field (if any) is no (or po, if that is all there is): each field's column name is then helper.lookup(that name, field name), as in CellParser.derived. A field which is itself a case class is given its column name as the name of its enclosing field.