struct Crysda::ColNames
- Crysda::ColNames
- Struct
- Value
- Object
Overview
Struct which is passed to block and provide helpful methods which can be invoked to perform filtering
Defined in:
crysda/select.crConstructors
Instance Method Summary
- #=~(regex : String)
- #=~(regex : Regex)
- #[](from : String, to : String)
- #[](range : Range(String | Nil, String | Nil))
- #all
- #ends_with?(prefix : String)
- #except(cols : Array(String))
-
#except(*cols : String)
normally, there should be no need for them.
- #except(&selector : ColumnSelector)
- #list_of(col_names : Array(String))
- #list_of(*col_names : String)
- #matches(regex : String)
- #matches(regex : Regex)
- #names : Array(String)
- #starts_with?(prefix : String)
Constructor Detail
Instance Method Detail
def except(*cols : String)
#
normally, there should be no need for them. We just do positive selection and either use
reject
or select
.
BUT: verbs like gather
still need to support negative selection
Performs a negative selection by selecting all columns except the listed ones.