Skip to content

Commit

Permalink
Readmefix (#26)
Browse files Browse the repository at this point in the history
* Removing double 'the' on README.md

* removing double 'the' on readme.md
  • Loading branch information
tiagopotencia authored and doug-martin committed Sep 14, 2016
1 parent 510bcea commit e3d9d23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ SELECT * FROM "user" WHERE "id" = $1
<a name="expressions"></a>
### Expressions

`goqu` provides an idiomatic DSL for generating SQL however the Dataset only provides the the different clause methods (e.g. Where, From, Select), most of these clause methods accept Expressions(with a few exceptions) which are the building blocks for your SQL statement, you can think of them as fragments of SQL.
`goqu` provides an idiomatic DSL for generating SQL however the Dataset only provides the different clause methods (e.g. Where, From, Select), most of these clause methods accept Expressions(with a few exceptions) which are the building blocks for your SQL statement, you can think of them as fragments of SQL.

The entry points for expressions are:

Expand Down Expand Up @@ -702,7 +702,7 @@ It is important to maintain this pattern when writing your own Adapter.
When creating your adapters you must register your adapter with [`RegisterAdapter`](http://godoc.org/github.com/doug-martin/goqu/#RegisterAdapter). This method requires 2 arguments.
1. dialect - The dialect for your adapter.
2. datasetAdapterFactory - This is a factory function that will return a new goqu.Adapter used to create the the dialect specific SQL.
2. datasetAdapterFactory - This is a factory function that will return a new goqu.Adapter used to create the dialect specific SQL.
For example the code for the postgres adapter is fairly short.
Expand Down

0 comments on commit e3d9d23

Please sign in to comment.