You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/datamapper.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ You will only need to substitute the values in `<>` with the respective values f
42
42
```php
43
43
<?php
44
44
45
-
use Phalcon\DataMapper\Connection;
45
+
use Phalcon\DataMapper\Pdo\Connection;
46
46
47
47
$host = '127.0.0.1';
48
48
$database = 'phalon_test';
@@ -546,7 +546,7 @@ The [Phalcon\DataMapper\Profiler\Profiler][datamapper-pdo-profiler-profiler] can
546
546
```php
547
547
<?php
548
548
549
-
use Phalcon\DataMapper\Connection;
549
+
use Phalcon\DataMapper\Pdo\Connection;
550
550
use Phalcon\DataMapper\Profiler\MemoryLogger;
551
551
use Phalcon\DataMapper\Profiler\Profiler;
552
552
@@ -627,7 +627,7 @@ The parameters available are:
627
627
628
628
## Query
629
629
### Factory
630
-
The `Phalcon\DataMapper\Query` namespace offers a handy factory, which allows for a quick and easy creation of query objects, whether this is `select`, `insert`, `update` or `delete. The methods exposed by the [Phalcon\DataMapper\Query\QueryFactory][datamapper-query-queryfactory] accept a [Phalcon\DataMapper\Connection][datamapper-pdo-connection], binding the resulting object with the connection.
630
+
The `Phalcon\DataMapper\Query` namespace offers a handy factory, which allows for a quick and easy creation of query objects, whether this is `select`, `insert`, `update` or `delete. The methods exposed by the [Phalcon\DataMapper\Query\QueryFactory][datamapper-query-queryfactory] accept a [Phalcon\DataMapper\Pdo\Connection][datamapper-pdo-connection], binding the resulting object with the connection.
631
631
632
632
#### Methods
633
633
@@ -665,7 +665,7 @@ Create a new Update object
665
665
```php
666
666
<?php
667
667
668
-
use Phalcon\DataMapper\Connection;
668
+
use Phalcon\DataMapper\Pdo\Connection;
669
669
use Phalcon\DataMapper\Query\QueryFactory;
670
670
671
671
$host = '127.0.0.1';
@@ -1118,12 +1118,12 @@ Indents a collection
1118
1118
1119
1119
1120
1120
#### Activation
1121
-
To instantiate a [Phalcon\DataMapper\Query\Insert][datamapper-query-insert] builder, you can use the [Phalcon\DataMapper\Query\QueryFactory][datamapper-query-queryfactory] with a [Phalcon\DataMapper\Connection][datamapper-pdo-connection].
1121
+
To instantiate a [Phalcon\DataMapper\Query\Insert][datamapper-query-insert] builder, you can use the [Phalcon\DataMapper\Query\QueryFactory][datamapper-query-queryfactory] with a [Phalcon\DataMapper\Pdo\Connection][datamapper-pdo-connection].
To instantiate a [Phalcon\DataMapper\Query\Select][datamapper-query-select] builder, you can use the [Phalcon\DataMapper\Query\QueryFactory][datamapper-query-queryfactory] with a [Phalcon\DataMapper\Connection][datamapper-pdo-connection].
1326
+
To instantiate a [Phalcon\DataMapper\Query\Select][datamapper-query-select] builder, you can use the [Phalcon\DataMapper\Query\QueryFactory][datamapper-query-queryfactory] with a [Phalcon\DataMapper\Pdo\Connection][datamapper-pdo-connection].
0 commit comments