Is it possible to catch each and every Dal Action and send it to a queue, in order to use the info to update another database (remote, which I want to update, assynchronously).
Would I need to have a UUID to make it? Best regaqrds Ari Em segunda-feira, 13 de janeiro de 2020 09:17:02 UTC-3, Ari Lion BR Sp escreveu: > > Hi, > > I have the same question. > Does web2py allows remote synchro? > > Better if it was assynchronous. It means, every transaction wold be stored > in a quewe and eventualy synchronized to remote. > Its it possible? > > > I need this feature. > > regards, > Ari > > > Em sexta-feira, 8 de dezembro de 2017 18:30:05 UTC-2, Scott Hunter > escreveu: >> >> The technique put forth in Chapter 6 of the book says every record must >> "reference >> the UUID instead of the id", and the example redefines a field of >> db.dog from `Field('owner', db.person),` to Field('owner', length=64),``, >> adding `db.dog.owner.requires = IS_IN_DB(db,'person.uuid','%(name)s')`. >> >> Does this mean that things like SQLFORM.grid will not work for tables >> defined so? What about tables like those part of `auth`? >> >> If these parts of web2py will no longer work, is there a recommended way >> to synchronize remote databases that does not have these issues? >> >> - Scott >> > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/d4b5054c-d709-454d-adf3-fd49588cf0c7%40googlegroups.com.