db.define_table(...Field('uuid_field'),
.... 
primarykey=['uuid_field'] 
) - no?



On Thursday, January 26, 2017 at 7:15:40 AM UTC+3, 黄祥 wrote:
>
> let say i got the csv file from another web app, in that csv file contain 
> a field id that contain uuid
> e.g. 
> a.csv (got from another web app)
> Id,Name
> 58801d5a3f9591dc47fbcc39,a
> 58801e67fc61af1a706ac9e1,b
>
> is it possible to have id table in web2py that contain uuid?
> how to define table in dal to face this case?
>
> thanks and best regards,
> stifan
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to