jmflava/mongo-transformer

There is no license information available for the latest version (v1.1) of this package.

A utility class to transform MongoDB cursor objects to various other types.

Maintainers

Package info

github.com/joshuamorse/mongo-transformer

pkg:composer/jmflava/mongo-transformer

Statistics

Installs: 25

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.1 2013-03-07 15:27 UTC

This package is not auto-updated.

Last update: 2026-02-22 11:14:53 UTC


README

A utility class that transforms MongoDB cursor objects to various other types.

Usage examples:

$transformer->convert($mongoCursor)->toArray();
$transformer->convert($mongoCursor)->toJson();
$transformer->convert($mongoCursor)->toJsonp($callback);