BSON::DBPointer - Legacy BSON type wrapper for DBPointer data (DEPRECATED)
| Use Case | Command | Description |
|---|---|---|
| Create DBPointer | my $dp = BSON::DBPointer->new( id => $oid, ref => $collection, ns => $database ); | Construct a deprecated DBPointer object |
| Get namespace | $dp->ns | Full namespace (database.collection) |
| Get ID | $dp->id | BSON ObjectID value |
| Get collection | $dp->ref | Collection name |
version v1.12.2
This module wraps the deprecated BSON "DBPointer" type.
You are strongly encouraged to use BSON::DBRef instead.
This software is Copyright (c) 2020 by Stefan G. and MongoDB, Inc.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
Generated by phpman v4.9.25-25-g40dbf62 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-16 12:42 @2600:1f28:365:80b0:8802:8bb4:3873:328e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format