Hi, Erick, thanks for your answer, there are the DAL types and
the default validators, but there are no mention about the
adapters field types, for example, in MySQL text can be stored in
fields of types TEXT, MEDIUMTEXT or LONGTEXT. I am asking for the
type used in the MySQL DB, and if is possible to set a different
one.
Greetings.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscribe@googlegroups.com.
Thanks Anthony, LONGTEXT is exactly what I need. But in case of
necessity, how "experimental" is that feature? Should I be worried
about unnoticed API changes?.
Greetings.
The DAL uses LONGTEXT for text fields in MySQL. If you'd like to use an alternative, you can create a custom type via SQLCustomType: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Custom-Field-types-experimental-.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
Thanks Anthony, LONGTEXT is exactly what I need. But in case of necessity, how "experimental" is that feature? Should I be worried about unnoticed API changes?.
Great, Thanks!!