2008-08-21から1日間の記事一覧
今まで datetime なカラムの検索は $schema->resultset('Entries')->search( { created_on => { '>=' => $day_start, '<=' => $day_end, } } ); とかしてて、いちいち 00:00:00 〜 23:59:59 まで用意してあげてたんだけど、隣の人に聞かれて、SQL だったら s…
今まで datetime なカラムの検索は $schema->resultset('Entries')->search( { created_on => { '>=' => $day_start, '<=' => $day_end, } } ); とかしてて、いちいち 00:00:00 〜 23:59:59 まで用意してあげてたんだけど、隣の人に聞かれて、SQL だったら s…