{
    "content": [
        {
            "type": "text",
            "text": "# MongoDB::InsertManyResult (perldoc)\n\n## NAME\n\nMongoDB::InsertManyResult - MongoDB single insert result object\n\n## SYNOPSIS\n\nmy $result = $coll->insert( $document );\nif ( $result->acknowledged ) {\n...\n}\n\n## DESCRIPTION\n\nThis class encapsulates the result from the insertion of a single document.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **ATTRIBUTES**\n- **METHODS**\n- **AUTHORS**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "MongoDB::InsertManyResult",
        "section": "",
        "mode": "perldoc",
        "summary": "MongoDB::InsertManyResult - MongoDB single insert result object",
        "synopsis": "my $result = $coll->insert( $document );\nif ( $result->acknowledged ) {\n...\n}",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "ATTRIBUTES",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "MongoDB::InsertManyResult - MongoDB single insert result object\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version v2.2.2\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "my $result = $coll->insert( $document );\n\nif ( $result->acknowledged ) {\n...\n}\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This class encapsulates the result from the insertion of a single document.\n",
                "subsections": []
            },
            "ATTRIBUTES": {
                "content": "insertedcount\nThe number of documents inserted.\n\ninserted\nAn array reference containing information about inserted documents (if any). Documents are just\nas in \"upserted\".\n\ninsertedids\nA hash reference built lazily from \"inserted\" mapping indexes to object IDs.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "acknowledged\nIndicates whether this write result was acknowledged. Always true for this class.\n\nassert\nThrows an error if write errors or write concern errors occurred. Otherwise, returns the\ninvocant.\n\nassertnowriteerror\nThrows a MongoDB::WriteError if write errors occurred. Otherwise, returns the invocant.\n\nassertnowriteconcernerror\nThrows a MongoDB::WriteConcernError if write concern errors occurred. Otherwise, returns the\ninvocant.\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "*   David Golden <david@mongodb.com>\n\n*   Rassi <rassi@mongodb.com>\n\n*   Mike Friedman <friedo@friedo.com>\n\n*   Kristina Chodorow <k.chodorow@gmail.com>\n\n*   Florian Ragwitz <rafl@debian.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is Copyright (c) 2020 by MongoDB, Inc.\n\nThis is free software, licensed under:\n\nThe Apache License, Version 2.0, January 2004\n",
                "subsections": []
            }
        }
    }
}