Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ToInt

Index

Properties

Properties

$toInt: any

Converts a value to a long. If the value cannot be converted to a long, $toLong errors. If the value is null or missing, $toLong returns null.

version

4.0

see

https://docs.mongodb.com/manual/reference/operator/aggregation/toInt/#mongodb-expression-exp.-toInt

Generated using TypeDoc