Last active
February 12, 2021 13:06
-
-
Save danielthiel/8374607 to your computer and use it in GitHub Desktop.
Revisions
-
danielthiel renamed this gist
Mar 1, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
danielthiel revised this gist
Jan 11, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ from datetime import date from sqlalchemy import cast, DATE Match.query.filter(cast(Match.date_time_field, DATE)==date.today()).all() -
danielthiel created this gist
Jan 11, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ from datetime import date from sqlalchemy import cast, DATE Match.query.filter(cast(Match.date_time_field, DATE)==datetime.utcnow().date()).all()