saltsdb/saltsdb.py
def replace(self, replace, table):
        """Insert a record into a table

        Parameters
        ----------
        replace: string
            values and columns to replace
        table: string
            table or group of tables to select from

        """

        # build the command
        exec_command = "REPLACE INTO {} VALUES ({})".format(table, replace)
        exec_command = sqlalchemy.sql.text(exec_command)

        self.sdb.execute(exec_command)
Insert a record into a table

        Parameters
        ----------
        replace: string
            values and columns to replace
        table: string
            table or group of tables to select from

        
Insert a record into a table
Parameters

string
values and columns to replace
table: string
table or group of tables to select from
Insert a record into a table Parameters string values and columns to replace table : string table or group of tables to select from
def replace(self, replace, table):
        exec_command = "REPLACE INTO {} VALUES ({})".format(table, replace)
        exec_command = sqlalchemy.sql.text(exec_command)
        self.sdb.execute(exec_command)
def replace ( self , replace , table ) : exec_command = "REPLACE INTO {} VALUES ({})" . format ( table , replace ) exec_command = sqlalchemy . sql . text ( exec_command ) self . sdb . execute ( exec_command )
Insert a record into a table
Parameters
Insert a record into a table Parameters
"""Insert a record into a table

        Parameters
        ----------
        replace: string
            values and columns to replace
        table: string
            table or group of tables to select from

        """ # build the command
self
replace
table