UNPKG

mongo-portable

Version:

Portable Pure JS MongoDB - Based on Monglodb (https://github.com/euforic/monglodb.git) by Christian Sullivan (http://RogueSynaptics.com)

39 lines (21 loc) 615 B
[Mongo Portable](../README.md) > [Utils](../classes/utils.md) # Class: Utils ## Hierarchy **Utils** ## Index ### Methods * [renameObjectProperty](utils.md#renameobjectproperty) --- ## Methods <a id="renameobjectproperty"></a> ### `<Static>` renameObjectProperty**renameObjectProperty**(obj: *`any`*, property: *`any`*, newName: *`any`*): `any` *Defined in [utils/Utils.ts:7](https://github.com/EastolfiWebDev/MongoPortable/blob/d5d3826/src/utils/Utils.ts#L7)* **Parameters:** | Param | Type | | ------ | ------ | | obj | `any` | | property | `any` | | newName | `any` | **Returns:** `any` ___