On 2 April 2015 at 13:00, Gael Princivalle <gaelprinciva...@gmail.com> wrote:
> Hi Philip. > > Using UUIDs make the db slower right? > Why? On huge databases the indexing will be slower but queries should not be slower than systems not using uuid. > http://simononsoftware.com/how-to-store-uuids-in-postgresql/ > And you can't store a record like that: > my_record = db.my_table(1) > Why not? You can do it. You just use the uuid's when referencing a record in foreign keys. When you do that, you cannot use Field('thisfield', 'reference othertable.otherfield' ) but you can do IS_IN_DB(...) Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.