Skip to content

Commit

Permalink
Merge pull request #1482 from samsonasik/doc-query-binding-in-seed-fix
Browse files Browse the repository at this point in the history
doc fix: query binding fix in Seeds documentation
  • Loading branch information
lonnieezell authored Nov 14, 2018
2 parents fbe57ea + ca345fb commit bfc9b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide_src/source/dbmgmt/seeds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ stored within the **application/Database/Seeds** directory. The name of the file
];

// Simple Queries
$this->db->query("INSERT INTO users (username, email) VALUES(:username, :email)",
$this->db->query("INSERT INTO users (username, email) VALUES(:username:, :email:)",
$data
);

Expand Down

0 comments on commit bfc9b50

Please sign in to comment.