Sam Newman
Posts: 800
Nickname: padark
Registered: Feb, 2004
|
|
More Squiggle
|
Posted: Apr 24, 2006 1:22 PM
|
|
This post originated from an RSS feed registered with Java Buzz
by Sam Newman.
|
Original Post: More Squiggle
Feed Title: magpiebrain
Feed URL: http://feeds.feedburner.com/Magpiebrain
Feed Description: A Java Blog
|
Latest Java Buzz Posts
Latest Java Buzz Posts by Sam Newman
Latest Posts From magpiebrain
|
|
Advertisement
|
PLAIN TEXTJAVA:
Table person = new Table(“person”);
return select(person.star())
.from(person)
.where(person.column(“startDate”).greaterThan(“2005-01-01”)
.and(person.column(“numberOfFriends”).greaterThan(100))
.and(person.column(“age”).greaterThan(21)));
PLAIN TEXTJAVA:
Table person = new Table(“person”);
Column startDate = person.column(“startDate”);
Column numberOfFriends = person.column(“numberOfFriends”);
return select(person.star())
.from(person)
.where(startDate.greaterThan(“2005-01-01”)
.and(numberOfFriends.greaterThan(100)
.or(numberOfFriends.lessThan(50))));
PLAIN TEXTJAVA:
Table person = new Table(“person”);
return select(star())
.from(person)
[...]
Read: More Squiggle
|
|