Skip to content

Commit

Permalink
updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentrussell committed Jul 25, 2018
1 parent aa8c82c commit 41dbe2c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Expand Up @@ -10,7 +10,7 @@ Add a dependency to `com.github.vincentrussell:sql-to-mongo-db-query-converter`.
<dependency>
<groupId>com.github.vincentrussell</groupId>
<artifactId>sql-to-mongo-db-query-converter</artifactId>
<version>1.5</version>
<version>1.6</version>
</dependency>
```

Expand All @@ -31,7 +31,7 @@ Document sort = mongoDBQueryHolder.getSort();
## Running it as a standalone jar

```
java -jar sql-to-mongo-db-query-converter-1.5-standalone.jar -s sql.file -d destination.json
java -jar sql-to-mongo-db-query-converter-1.6-standalone.jar -s sql.file -d destination.json
```
### Options

Expand Down Expand Up @@ -66,7 +66,7 @@ To specify an initial batch size for the cursor
## Interactive mode

```
java -jar target/sql-to-mongo-db-query-converter-1.5-standalone.jar -i
java -jar target/sql-to-mongo-db-query-converter-1.6-standalone.jar -i
Enter input sql:
Expand Down Expand Up @@ -297,7 +297,7 @@ db.my_collection.aggregate([{
You can run the queries against an actual mongodb database and take a look at the results. The default return batch size is 50.

```
java -jar target/sql-to-mongo-db-query-converter-1.5-SNAPSHOT-standalone.jar -i -h localhost:3086 -db local -b 5
java -jar target/sql-to-mongo-db-query-converter-1.6-SNAPSHOT-standalone.jar -i -h localhost:3086 -db local -b 5
Enter input sql:
Expand Down Expand Up @@ -376,6 +376,12 @@ more results? (y/n): n

# Change Log

## [1.6](https://github.com/vincentrussell/sql-to-mongo-db-query-converter/tree/sql-to-mongo-db-query-converter-1.6) (2018-07-24)

**Bugs:**

- remove double quotes from column names when used in IS NULL query

## [1.5](https://github.com/vincentrussell/sql-to-mongo-db-query-converter/tree/sql-to-mongo-db-query-converter-1.5) (2018-06-15)

**Enhancements:**
Expand Down

0 comments on commit 41dbe2c

Please sign in to comment.