Skip to content

Commit

Permalink
release 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
manyuanrong committed Jun 14, 2019
1 parent bd85429 commit 4104233
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Chnage log

## 1.3.0

### Features

- [Where Builder](./docs/where.md) Where helper for chain invocation.
- [Order Builder](./docs/order.md) Order helper for chain invocation.
- [Join Builder](./docs/join.md) Join helper for chain invocation.

### Fixes

- param replace, \`users.id\` => \`users\`.\`id\`
16 changes: 10 additions & 6 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,22 @@
![GitHub release](https://img.shields.io/github/release/manyuanrong/sql-builder.svg)
![(Deno)](https://img.shields.io/badge/deno-0.8.0-green.svg)

### Example
### Docs

More Useage see:

- [Query](./test/query.ts)
- [Where](./test/where.ts)
- [Query](./docs/query.md)
- [Where](./docs/where.md)
- [Order](./docs/order.md)
- [Join](./docs/join.md)

### [Changes Log](./CHANGELOG.MD)

### Example

```ts
import { assertEquals, runTests, test } from "./deps.ts";
import { Query } from "https://deno.land/x/sql-builder@1.1.0/mod.ts";
import { Query } from "https://deno.land/x/sql-builder@1.3.0/mod.ts";

test(function testQueryInsert() {
const builder = new Query();
Expand Down Expand Up @@ -114,8 +120,6 @@ test(function testQuerySelectSimple() {

const sql = builder
.table("users")
// .where("id", "=", 1)
// .where("name", "like", "%n%")
.select("name", "id")
.build();

Expand Down

0 comments on commit 4104233

Please sign in to comment.