hi,

Is there a recommended alternative implementation for those hosting on
appengine?

Does one store year, month, day in separate fields for example?

On Sep 29, 3:15 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Themonthon the right is the attribute of a date/datetime object.GAE
> supports it.
>
> Themonthon the left is a web2py API that maps into an operator in
> the query.GAEdoes not allow datetime manipulations in queries
> therefore web2py cannot map that API.
>
> Massimo
>
> On Sep 29, 7:50 am, Renato-ES <caliari.ren...@gmail.com> wrote:
>
>
>
> > Massimo,
>
> > TheGAEdoesn't support the ".month()" on the left, on the right or
> > both?
>
> > Thanks.
>
> > On Sep 28, 10:11 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > should be
>
> > > (db.nieuws.publicatie_datum.month()=request.now.month)
>
> > > because on the right side you have a value [no ()], on the left side
> > > you have an expression [need ()].
>
> > > .month() is not supported onGAE.
>
> > > On Sep 28, 2:36 am, annet <annet.verm...@gmail.com> wrote:
>
> > > > In a function I have the following line of code:
>
> > > > (db.nieuws.publicatie_datum<=request.now)&
> > > > (db.nieuws.publicatie_datum>=minus_three_months(request.now)
>
> > > > ... which works. Now I would like to only select thismonth'snews
> > > > items, I thought changing the selection to read like:
>
> > > > (db.nieuws.publicatie_datum.month=request.now.month)
>
> > > > ... would work, but it doesn't, why not?
>
> > > > Kind regards,
>
> > > > Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to