Update README.md
This commit is contained in:
parent
f6e077a085
commit
1cb07399d1
@ -1,15 +1,15 @@
|
|||||||
Oxid eShop SQL Logger
|
Oxid eShop SQL Logger
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
Returns all SQL queries into console of a browser.
|
Returns all SQL queries into console of a Browser.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
composer require --dev tumtum/oxid-sql-logger
|
`composer require --dev tumtum/oxid-sql-logger`
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Just set the function StartSQLLog() somewhere and from that point on all SQLs will be logged.
|
Just set the function `StartSQLLog()` somewhere and from that point on all SQLs will be logged.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
\StartSQLLog();
|
\StartSQLLog();
|
||||||
@ -23,5 +23,5 @@ $list = $db->getAll('SELECT * FROM oxarticles WHERE oxprice < ? LIMIT 100', [49.
|
|||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user