saltsdb/saltsdb.py
def select(self, selection, table, logic=None):
        """Select a record from a table

        Parameters
        ----------
        selection: string
            columns to return
        table: string
            table or group of tables to select from
        logic: string
            logic for selecting from table

        Returns
        -------
        record: ~pandas.DataFrame
            Dataframe of results
        """

        cmd_sql = 'SELECT {} FROM {}'.format(selection, table)
        if logic is not None:
            cmd_sql += ' WHERE {}'.format(logic)
        return pd.read_sql(cmd_sql, self.sdb)
Select a record from a table

        Parameters
        ----------
        selection: string
            columns to return
        table: string
            table or group of tables to select from
        logic: string
            logic for selecting from table

        Returns
        -------
        record: ~pandas.DataFrame
            Dataframe of results
        
Select a record from a table
Parameters

string
columns to return
table: string
table or group of tables to select from
logic: string
logic for selecting from table

Returns


Select a record from a table Parameters string columns to return table : string table or group of tables to select from logic : string logic for selecting from table Returns
def select(self, selection, table, logic=None):
        cmd_sql = 'SELECT {} FROM {}'.format(selection, table)
        if logic is not None:
            cmd_sql += ' WHERE {}'.format(logic)
        return pd.read_sql(cmd_sql, self.sdb)
def select ( self , selection , table , logic = None ) : cmd_sql = 'SELECT {} FROM {}' . format ( selection , table ) if logic is not None : cmd_sql += ' WHERE {}' . format ( logic ) return pd . read_sql ( cmd_sql , self . sdb )
Select a record from a table
Parameters
Select a record from a table Parameters
"""Select a record from a table

        Parameters
        ----------
        selection: string
            columns to return
        table: string
            table or group of tables to select from
        logic: string
            logic for selecting from table

        Returns
        -------
        record: ~pandas.DataFrame
            Dataframe of results
        """
self
selection
table
logic