(self, node_name, sql, args, quiet = False)
return self.exec_cmd(db, sql, args, quiet = quiet, prefix=node_name)
Execute SQL command on particular node.
Execute SQL command on particular node.
Execute SQL command on particular node .
def node_cmd(self, node_name, sql, args, quiet = False):
        """Execute SQL command on particular node."""
        db = self.get_node_database(node_name)
        if not db:
            self.log.warning("ignoring cmd for dead node '%s': %s",
                    node_name, skytools.quote_statement(sql, args))
            return None
        return self.exec_cmd(db, sql, args, quiet = quiet, prefix=node_name)
def node_cmd ( self , node_name , sql , args , quiet = False ) : db = self . get_node_database ( node_name ) if not db : self . log . warning ( "ignoring cmd for dead node '%s': %s" , node_name , skytools . quote_statement ( sql , args ) ) return None return self . exec_cmd ( db , sql , args , quiet = quiet , prefix = node_name )