Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen committed Oct 12, 2012
1 parent e417461 commit 593da3f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ The main techniques are:

This library focuses on the last of these - using an external file.
It is designed for use with Spring, and uses the Spring SqlParameterSource class.

The key benefit is a simple external file that a DBA can understand, something
which is invaluable for later maintenance and debugging.

Expand All @@ -28,11 +27,15 @@ common difficult cases. The file has the suffix ".elsql":

-- an example comment
@NAME(SelectBlogs)
SELECT @INCLUDE(CommonFields)
FROM blogs
WHERE id = :id
@AND(:date)
date > :date
@PAGING(:paging_offset,:paging_fetch)
SELECT @INCLUDE(CommonFields)
FROM blogs
WHERE id = :id
@AND(:date)
date > :date
@AND(:active)
active = :active
ORDER BY title, author
@NAME(CommonFields)
title, author, content

Expand Down

0 comments on commit 593da3f

Please sign in to comment.