labpack/databases/sql.py
def exists(self, record_id):

        '''
            a method to determine if record exists

        :param record_id: string or number with unique identifier of record
        :return: boolean to indicate existence of record
        '''

        select_statement = self.table.select(self.table).where(self.table.c.id == record_id)
        record_object = self.session.execute(select_statement).first()
        if record_object:
            return True
        return False

            a method to determine if record exists

        :param record_id: string or number with unique identifier of record
        :return: boolean to indicate existence of record
        
a method to determine if record exists
a method to determine if record exists
def exists(self, record_id):
        select_statement = self.table.select(self.table).where(self.table.c.id == record_id)
        record_object = self.session.execute(select_statement).first()
        if record_object:
            return True
        return False
def exists ( self , record_id ) : select_statement = self . table . select ( self . table ) . where ( self . table . c . id == record_id ) record_object = self . session . execute ( select_statement ) . first ( ) if record_object : return True return False
a method to determine if record exists
a method to determine if record exists
'''
            a method to determine if record exists

        :param record_id: string or number with unique identifier of record
        :return: boolean to indicate existence of record
        '''
boolean to indicate existence of record
boolean to indicate existence of record
self
record_id
string or number with unique identifier of record
string or number with unique identifier of record