pyaltt2/db.py
def qcreate(self, q, *args, **kwargs):
        """
        Execute (usually INSERT) query with self.query and return row id

        row id must be in "id" field
        """
        result = self.query(q, _create=True, *args, **kwargs)
        return result.lastrowid if self.use_lastrowid else result.fetchone().id

        Execute (usually INSERT) query with self.query and return row id

        row id must be in "id" field
        
Execute (usually INSERT) query with self.query and return row id
row id must be in "id" field
Execute ( usually INSERT ) query with self . query and return row id row id must be in " id " field
def qcreate(self, q, *args, **kwargs):
        result = self.query(q, _create=True, *args, **kwargs)
        return result.lastrowid if self.use_lastrowid else result.fetchone().id
def qcreate ( self , q , * args , ** kwargs ) : result = self . query ( q , _create = True , * args , ** kwargs ) return result . lastrowid if self . use_lastrowid else result . fetchone ( ) . id
Execute (usually INSERT) query with self.query and return row id
row id must be in "id" field
Execute ( usually INSERT ) query with self . query and return row id row id must be in " id " field
"""
        Execute (usually INSERT) query with self.query and return row id

        row id must be in "id" field
        """
self
q