Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Django QuerySet "ARE" Patterns

Django QuerySet "ARE" Patterns

DjangoCongress JP 2019 Lightning Talk

HayaoSuzuki

May 18, 2019
Tweet

More Decks by HayaoSuzuki

Other Decks in Technology

Transcript

  1. おまえ誰よ • Hayao Suzuki @CardinalXaro • 株式会社アイリッジ ◦ Pythonエンジニア ◦

    テックリード(自称) • オライリージャパンの回し者 ◦ テクニカルレビュワー(自称)
  2. なんだこれは、たまげたなあ WHERE (EXTRACT(DAY FROM `regist_dt`) = 28 AND EXTRACT(MONTH FROM

    `regist_dt`) = 1 AND `regist_dt` BETWEEN '2019-01-01 00:00:00' AND '2019-12-31 23:59:59.999999'