-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathindex.txt
154 lines (109 loc) · 4.19 KB
/
index.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
===================
MongoDB PHP Library
===================
.. meta::
:description: Explore the MongoDB PHP Library for high-level database operations, including installation, connection, data manipulation, and deployment on AWS Lambda.
.. contents:: On this page
:local:
:backlinks: none
:depth: 1
.. toctree::
:titlesonly:
Get Started </get-started>
Connect to MongoDB </connect>
Databases & Collections </databases-collections>
Read Data </read>
Write Data </write>
Operations with Builders </builders>
CRUD Operations & Replica Sets </read-write-pref>
Run a Database Command </run-command>
Data Aggregation </aggregation>
Indexes </indexes>
Monitor Your Application </monitoring>
Security </security>
Specialized Data Formats </data-formats>
Deploy to AWS Lambda </aws-lambda>
Compatibility </compatibility>
What's New </whats-new>
Upgrade </upgrade>
FAQ </faq>
API Documentation </reference>
Overview
--------
Welcome to the documentation site for the official {+php-library+}.
The {+library-short+} provides a high-level abstraction around the lower-level
:php:`mongodb extension <mongodb>`.
The ``mongodb`` extension provides a limited API to connect to a MongoDB
database and execute generic commands, queries, and write operations. In
contrast, the {+library-short+} provides a full-featured API and models client,
database, and collection objects. If you are developing a PHP application with
MongoDB, consider using the {+library-short+} instead of the extension alone.
Get Started
-----------
Learn how to install the library and extension, establish a connection to MongoDB,
and begin working with data in the :ref:`php-get-started` tutorial.
Connect to MongoDB
------------------
Learn how to create and configure a connection to a MongoDB deployment
in the :ref:`php-connect` section.
Databases and Collections
-------------------------
Learn how to use the {+library-short+} to work with MongoDB databases and collections
in the :ref:`php-databases-collections` section.
Read Data
---------
Learn how you can retrieve data from MongoDB in the :ref:`php-read` section.
Write Data to MongoDB
---------------------
Learn how you can write data to MongoDB in the :ref:`php-write` section.
Operations with Builders
------------------------
Learn how to use builder classes and factory methods to create queries
in the :ref:`php-builders` section.
Specify How CRUD Operations Run on Replica Sets
-----------------------------------------------
Learn how to configure settings for read and write operations on replica
sets in the :ref:`php-read-write-pref` section.
Run a Database Command
----------------------
Learn how to run a database command in the :ref:`php-run-command` section.
Transform Your Data with Aggregation
------------------------------------
Learn how to use the {+library-short+} to perform aggregation operations in the
:ref:`php-aggregation` section.
Optimize Queries with Indexes
-----------------------------
Learn how to work with common types of indexes in the :ref:`php-indexes`
section.
Monitoring
----------
Learn how to monitor change events in the :ref:`php-monitoring`
section.
Secure Your Data
----------------
Learn about ways you can authenticate your application and encrypt your data in
the :ref:`php-security` section.
Specialized Data Formats
------------------------
Learn how to work with specialized data formats and custom types in the
:ref:`php-data-formats` section.
Deploy to AWS Lambda
--------------------
Learn how to deploy a PHP application on AWS Lambda by using Bref in the
:ref:`php-aws-lambda` section.
Compatibility
-------------
See compatibility tables showing the recommended {+library-short+} version to use for
specific PHP and {+mdb-server+} versions in the :ref:`php-compatibility` section.
What's New
----------
Learn about new features and changes in each version in the :ref:`<php-lib-whats-new>`
section.
Upgrade Library Versions
------------------------
Learn what changes you must make to your application to upgrade library and
extension versions in the :ref:`php-upgrade` section.
FAQ
---
See answers to commonly asked questions about the {+library-short+} in the
the :ref:`php-faq` section.