'Lazy access to the current sync config'

@property
def config(self):

    if (self._config is None):
        table = current.s3db.sync_config
        row = current.db().select(table.ALL, limitby=(0, 1)).first()
        self._config = row
    return self._config
