Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 24, 2015
1 parent a2c6a6e commit c85a347
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions database.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,9 @@ Once you have configured your database connection, you may run queries using the

The `select` method will always return an `array` of results.

You can also run a select query using named prepared statements.
You may also execute a query using named bindings:

$results = DB::select('select * from users where id = :id', ['id' => 1]);

> **Note:** You can not reuse the same named prepared statement.

#### Running An Insert Statement

Expand Down

0 comments on commit c85a347

Please sign in to comment.