code: def pandasSQL_builder(con, schema=None, meta=None,
                        is_cursor=False):
      
      # When support for DBAPI connections is removed,
      # is_cursor should not be necessary.
      con = _engine_builder(con)
      if _is_sqlalchemy_connectable(con):
          return SQLDatabase(con, schema=schema, meta=meta)
      elif isinstance(con, str):
          raise ImportError("Using URI string without sqlalchemy installed.")
      else:
          return SQLiteDatabase(con, is_cursor=is_cursor)
docs: Convenience function to return the correct PandasSQL subclass based on the
      provided parameters.