def fetch_returned_insert_id(self, cursor):
    '\n        Given a cursor object that has just performed an INSERT...RETURNING\n        statement into a table that has an auto-incrementing ID, returns the\n        newly created ID.\n        '
    return cursor.fetchone()[0]
Given a cursor object that has just performed an INSERT...RETURNING
statement into a table that has an auto-incrementing ID, returns the
newly created ID.
def fetch_returned_insert_id(self, cursor):
    '\n        Given a cursor object that has just performed an INSERT...RETURNING\n        statement into a table that has an auto-incrementing ID, returns the\n        newly created ID.\n        '
    return cursor.fetchone()[0]