saltsdb/saltsdb.py
def update(self, insertion, table, logic=None):
        """Update a record in a table

        Parameters
        ----------
        insertion: string
            values and columns to insert
        table: string
            table or group of tables to select from
        logic: string
            logic for selecting from table

        """

        # build the command
        exec_command = "UPDATE {} SET {}".format(table, insertion)
        if logic is not None:
            exec_command += ' WHERE {}'.format(logic)
        exec_command = sqlalchemy.sql.text(exec_command)

        self.sdb.execute(exec_command)
Update a record in a table

        Parameters
        ----------
        insertion: string
            values and columns to insert
        table: string
            table or group of tables to select from
        logic: string
            logic for selecting from table

        
Update a record in a table
Parameters

string
values and columns to insert
table: string
table or group of tables to select from
logic: string
logic for selecting from table
Update a record in a table Parameters string values and columns to insert table : string table or group of tables to select from logic : string logic for selecting from table
def update(self, insertion, table, logic=None):
        exec_command = "UPDATE {} SET {}".format(table, insertion)
        if logic is not None:
            exec_command += ' WHERE {}'.format(logic)
        exec_command = sqlalchemy.sql.text(exec_command)
        self.sdb.execute(exec_command)
def update ( self , insertion , table , logic = None ) : exec_command = "UPDATE {} SET {}" . format ( table , insertion ) if logic is not None : exec_command += ' WHERE {}' . format ( logic ) exec_command = sqlalchemy . sql . text ( exec_command ) self . sdb . execute ( exec_command )
Update a record in a table
Parameters
Update a record in a table Parameters
"""Update a record in a table

        Parameters
        ----------
        insertion: string
            values and columns to insert
        table: string
            table or group of tables to select from
        logic: string
            logic for selecting from table

        """ # build the command
self
insertion
table
logic