Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
891cd781
Commit
891cd781
authored
Sep 11, 2014
by
Klimov Paul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`MongoDbPanel` addition mentioned at CHANGELOG.md and README.md
parent
950577d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
CHANGELOG.md
extensions/mongodb/CHANGELOG.md
+1
-0
README.md
extensions/mongodb/README.md
+26
-0
No files found.
extensions/mongodb/CHANGELOG.md
View file @
891cd781
...
...
@@ -9,6 +9,7 @@ Yii Framework 2 mongodb extension Change Log
-
Enh #3520: Added
`unlinkAll()`
-method to active record to remove all records of a model relation (NmDimas, samdark, cebe)
-
Enh #3778: Gii generator for Active Record model added (klimov-paul)
-
Enh #3947: Migration support added (klimov-paul)
-
Enh #3855: Enh: Added a debug toolbar panel for MongoDB (klimov-paul)
-
Enh #4048: Added
`init`
event to
`ActiveQuery`
classes (qiangxue)
-
Enh #4086: changedAttributes of afterSave Event now contain old values (dizews)
-
Enh #4335:
`yii\mongodb\log\MongoDbTarget`
log target added (klimov-paul)
...
...
extensions/mongodb/README.md
View file @
891cd781
...
...
@@ -288,6 +288,32 @@ return [
is very basic and definitely requires adjustments.
Using the MongoDB DebugPanel
----------------------------
The yii2 MongoDB extensions provides a debug panel that can be integrated with the yii debug module
and shows the executed MongoDB queries.
Add the following to you application config to enable it (if you already have the debug module
enabled, it is sufficient to just add the panels configuration):
```
php
// ...
'bootstrap'
=>
[
'debug'
],
'modules'
=>
[
'debug'
=>
[
'class'
=>
'yii\\debug\\Module'
,
'panels'
=>
[
'mongodb'
=>
[
'class'
=>
'yii\\mongodb\\debug\\MongoDbPanel'
,
],
],
],
],
// ...
```
Using Migrations
----------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment