Hello, i have one begginer question.
I have in database (sqlite) table with column
"create_date" (create_date = Field(DateTime, default = datetime.now))

I need select all items, where create_date = 2008 (or anything else
year ... )

Is this the right way (but this example don`t work :( ) ?

data = Table.query().filter(func.year(Table.c.create_date) == 2008)

Thanks ..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to