Permalink
Browse files

Updated README

  • Loading branch information...
1 parent 13e37ba commit 765130066cc07ed97b3d36c07bbedfbe91c9e91f Tom Krush committed Feb 7, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.markdown
View
@@ -14,13 +14,13 @@ The best place to check out examples is in the unit tests (bella/tests).
### Simple Query
-$users = new Table('users');
-echo $users->project('*')->to_sql();
+ $users = new Table('users');
+ echo $users->project('*')->to_sql();
-// Result: SELECT * FROM users
+ // Result: SELECT * FROM users
-$users = new Table('users');
-$query = $users->where($users['name']->eq('bob')->otherwise($users['age']->lt(25)));
+ $users = new Table('users');
+ $query = $users->where($users['name']->eq('bob')->otherwise($users['age']->lt(25)));
// Result: SELECT FROM users WHERE (name = 'bob' OR age < 25)

0 comments on commit 7651300

Please sign in to comment.