Code()

Constructor

A class representation of the BSON Code type.

class Code()
Arguments:
  • code ((string) – a string or function.
  • [scope] (object) – an optional scope for the function.
Returns:

code

Contents

Manual

MongoDB Wiki