We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9babb2f commit a262d99Copy full SHA for a262d99
README.md
@@ -12,9 +12,9 @@ Let's assume you have the following table:
12
13
```sql
14
CREATE TABLE users (
15
- id INTEGER PRIMARY KEY,
16
- name TEXT,
17
- password TEXT
+ id INTEGER PRIMARY KEY,
+ name TEXT,
+ password TEXT
18
);
19
```
20
@@ -31,10 +31,10 @@ Now you can setup a new class to represent this table:
31
* @property string $password
32
*/
33
class User extends flight\ActiveRecord {
34
- public function __construct($databaseConnection)
35
- {
36
- parent::__construct($databaseConnection, 'users', [ /* custom values */ ]);
37
- }
+ public function __construct($databaseConnection)
+ {
+ parent::__construct($databaseConnection, 'users', [/* custom values */]);
+ }
38
}
39
40
0 commit comments