clarify the internal use of day_of_month instead of plain day
Alexander Hartmaier [Fri, 11 Mar 2011 17:43:30 +0000 (18:43 +0100)]
lib/DBIx/Class/SQLMaker/DateOps.pm

index 25fb271..3ea3e15 100644 (file)
@@ -116,6 +116,8 @@ sub _where_op_GET_DATETIME_DAY {
 
   my $lhs = shift;
 
+  # we use day_of_month instead of plain day internally
+  # because some databases also support day_of_week and day_of_year
   return $self->_where_op_GET_DATETIME($op, $lhs, [day_of_month => $rhs])
 }