I do not know. Anyway, that functionality is undocumented because experimental and therefore I do not promise it will be backward compatible. There will be a way to do it. If people like the current syntax we can try preserve it.
Massimo On Jul 12, 9:19 am, Hans Donner <[email protected]> wrote: > How will the new DAL replaces the functionality of the current and > experimental SQLCustomType? > > On Sun, Jul 12, 2009 at 3:58 PM, mdipierro<[email protected]> wrote: > > > The new DAL will have a Numeric type. It should be possible to develop > > the eStore app independently on this issue (assume double) and then > > just change the field type when the new one becomes available. > > > On Jul 12, 1:26 am, "Francois (Jersey)" > > <[email protected]> wrote: > >> Back with an old query, in order to deal with an e-store, we would > >> need to deal with numeric, as we need to deal with prices which are > >> monetary amounts in multiple currencies. > > >> I can not remember where we are with numeric implementation? > > >> For example in SQLalchemy, numeric is defined as > > >> class sqlalchemy.types.Numeric(precision=10, scale=2, asdecimal=True, > >> length=None)¶ > >> Bases: sqlalchemy.types.TypeEngine > >> A type for fixed precision numbers. > >> Typically generates DECIMAL or NUMERIC. Returns decimal.Decimal > >> objects by default. > > >>http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/types.html?hig... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

