docs: def _connect(dbapi_connection, connection_record):
      """Enables foreign key support."""
  
      # If back end is sqlite
      if type(dbapi_connection) is sqlite3.Connection:
  
          # Respect foreign key constraints by default
          cursor = dbapi_connection.cursor()
          cursor.execute("PRAGMA foreign_keys=ON")
          cursor.close()