def allow_sync(self):
return self.database.allow_sync()<EOL>
Allow sync queries within context. Close the sync
        database connection on exit if connected.

        Example::

            with objects.allow_sync():
                PageBlock.create_table(True)