24 Apr 2009 03:42:00 UTC
- Distribution: DBIx-Class-Snowflake
- Module version: 0.10
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (190 / 288 / 0)
- KwaliteeBus factor: 0
- % Coverage
- License: perl_5
- Activity24 month
- Download (20.23KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionMFOLLETT Matt Follettand 1 contributors
- Matt Follett
ignore_columns sets the columnns to be ignored. Please see the manual DBIx::Class::Snowflake::Manual for further explanation.
Returns the ignored columns in the internal representation without modifying them. Please see DBIx::Class::Snowflake::Manual for more information.
The resolve_values subroutine will recursively walk through the dimensions of a fact until it finds the column for the values we are looking for. It will then return an array that indicates the steps to take in the SQL query to get to that dimension.
For example, assume there is a fact_produced table and it had a dim_date table with a column for the day of the week (dow) and dim_date is a dimension of fact_produced. This call: $produced->_resolve_metrics('dow'); would result in a reference to an array like so: [ fact_produced, dim_date, dow ]
This function recursively calls itself until it finds
Goes through all of the columns, determines if they are to be ignored if not then it returns them in a large array containing the accessor and data type of each column.
Module Install Instructions
To install DBIx::Class::Snowflake, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install DBIx::Class::Snowflake
For more information on module installation, please visit the detailed CPAN module installation guide.