flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
36
VISUALIZACION/node_modules/bson/src/min_key.ts
generated
vendored
Executable file
36
VISUALIZACION/node_modules/bson/src/min_key.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
import { BSONValue } from './bson_value';
|
||||
|
||||
/** @public */
|
||||
export interface MinKeyExtended {
|
||||
$minKey: 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* A class representation of the BSON MinKey type.
|
||||
* @public
|
||||
* @category BSONType
|
||||
*/
|
||||
export class MinKey extends BSONValue {
|
||||
get _bsontype(): 'MinKey' {
|
||||
return 'MinKey';
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
toExtendedJSON(): MinKeyExtended {
|
||||
return { $minKey: 1 };
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
static fromExtendedJSON(): MinKey {
|
||||
return new MinKey();
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
[Symbol.for('nodejs.util.inspect.custom')](): string {
|
||||
return this.inspect();
|
||||
}
|
||||
|
||||
inspect(): string {
|
||||
return 'new MinKey()';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue