This version of the documentation is archived and no longer supported. To
upgrade your 5.0 deployment, see the MongoDB 6.0 upgrade procedures.
availableQueryOptionsavailableQueryOptionsis an internal command that is only available onmongosinstances.