Skip to content

Commit 2656815

Browse files
author
Paul M. Jones
committed
add notes about config
1 parent 282dad6 commit 2656815

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ available as a bundle for Symfony 4 projects.
3737
> cp ./vendor/atlas/orm/resources/phpstorm.meta.php ./.phpstorm.meta.php
3838
> ```
3939
40+
In the `atlas.yaml` config file, these settings are notable:
41+
42+
- `atlas.orm.atlas.log_queries`: set this to `true` to enable the web profiler
43+
data collector for query logging.
44+
45+
- `atlas.orm.atlas.transaction_class`: set this to one of the Atlas transaction
46+
strategy classes, such as `Atlas\\Orm\\Transaction\\AutoTransact`. For more
47+
information, see the
48+
[transactions documentation](http://atlasphp.io/cassini/orm/transactions.html#1-1-6-2).
49+
4050
## Getting Started
4151
4252
### Generating Mappers
@@ -91,7 +101,6 @@ class ApplicationService
91101

92102
Full documentation for using Atlas is at <http://atlasphp.io/cassini/orm/>:
93103

94-
95104
- [Defining relationships between mappers](http://atlasphp.io/cassini/orm/relationships.html)
96105

97106
- [Fetching Records and RecordSets](http://atlasphp.io/cassini/orm/reading.html)

0 commit comments

Comments
 (0)