Where is the documentation for all shell functions?

Hi,

I found some functions mentioned in the documentation, but they are not fully described. I need to know how to call them, what arguments they accept, and what results they return.

Functions:

  • HexData()

  • BinData()

  • Binary()

  • Buffer.from()

Some of the functions have the “help” method, but it doesn’t return much information:


[direct: mongos] admin> HexData.help()

Helper method to create BinData. Accepts subtype hex string:

[direct: mongos] admin>

Where can I find detailed info on these functions?

Thanks!

1 Like

Hi,

You can find all the details of the methods and functions in this section:

Under this section, you can find all the methods and detailed documentation.

For example, for BinData() https://www.mongodb.com/docs/manual/reference/method/BinData/

I hope this will help you.

Best,
Shreya

2 Likes

Search on the site yields no results at all.

Hi!

I have checked links and have not found documentation for the “HexData” function.

Hi @flibustier_seas, and welcome to the forums.

That’s a good catch, it seems like these aren’t in the docs. I have raised this with the documentation team, and will keep you posted as I hear more from them.

Thank you for reporting this! :slight_smile:

1 Like

I already heard back from the team! They will be adding the missing documentation for HexData and Buffer.from() in the near future, thank you again for reporting this.

For BinData, you can find the documentation here as @shreya_patel pointed out.

For Binary(), it seems to result in the same as Binary.createFromBase64, which is documented here.

I hope this helps!

2 Likes

Hi @Joel_Lord,

Thank you so much!

Hi

@flibustier_seas you are right.
@Joel_Lord Thank you for your help and support.

Best,
Shreya

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.