mongoose
mongoose
Version 8.7.0
Version 7.8.2
Version 6.13.3
Version 5.13.22
Quick Start
Guides
Schemas
SchemaTypes
Connections
Models
Documents
Subdocuments
Queries
Validation
Middleware
Populate
Discriminators
Plugins
Timestamps
Transactions
TypeScript
API
Mongoose
Schema
Connection
Document
Model
Query
Aggregate
SchemaType
VirtualType
Migration Guide
Version Compatibility
Version Support
FAQ
Further Reading
For Enterprise
Sponsors
Decimal128
Mongoose
Schema
Connection
Document
Model
Query
QueryCursor
Aggregate
AggregationCursor
SchemaType
VirtualType
Error
SchemaArray
SchemaDocumentArray
SchemaSubdocument
SchemaBoolean
SchemaBuffer
SchemaNumber
SchemaObjectId
SchemaString
DocumentArray
Subdocument
ArraySubdocument
Buffer
Decimal128
Decimal128()
Map
Array
Decimal128()
Decimal128()
Decimal128 type constructor
Example:
const
id =
new
mongoose.
Types
.
Decimal128
(
'3.1415'
);
Localize
Full Stack Engineer
Anywhere
View more jobs!