Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated README

  • Loading branch information...
commit 765130066cc07ed97b3d36c07bbedfbe91c9e91f 1 parent 13e37ba
authored February 07, 2011

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  README.markdown
10  README.markdown
Source Rendered
@@ -14,13 +14,13 @@ The best place to check out examples is in the unit tests (bella/tests).
14 14
 
15 15
 ### Simple Query
16 16
 
17  
-$users = new Table('users');
18  
-echo  $users->project('*')->to_sql();
  17
+	$users = new Table('users');
  18
+	echo  $users->project('*')->to_sql();
19 19
 
20  
-// Result: SELECT * FROM users
  20
+	// Result: SELECT * FROM users
21 21
 
22  
-$users = new Table('users');
23  
-$query = $users->where($users['name']->eq('bob')->otherwise($users['age']->lt(25)));
  22
+	$users = new Table('users');
  23
+	$query = $users->where($users['name']->eq('bob')->otherwise($users['age']->lt(25)));
24 24
 
25 25
 // Result: SELECT FROM users WHERE (name = 'bob' OR age < 25)
26 26
 

0 notes on commit 7651300

Please sign in to comment.
Something went wrong with that request. Please try again.