Skip to content

Commit

Permalink
Fix #96
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Dec 26, 2017
1 parent 2ffe374 commit 9df77e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ Execute an SQL statement and return the results in `sink`, which can be any vali

Passing `append=true` as a keyword argument will cause the resultset to be _appended_ to the sink instead of replacing.

To get the results as a `DataFrame`, you can just do `MySQL.query(conn, sql, DataFrame)`.

```julia
MySQL.Query(conn, sql, sink=Data.Table; append::Bool=false) => MySQL.Query
```
Expand Down
2 changes: 2 additions & 0 deletions src/MySQL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ end
execute an sql statement and return the results in `sink`, which can be any valid `Data.Sink` (interface from DataStreams.jl). By default, a NamedTuple of Vectors are returned.
Passing `append=true` as a keyword argument will cause the resultset to be _appended_ to the sink instead of replacing.
To get the results as a `DataFrame`, you can just do `MySQL.query(conn, sql, DataFrame)`.
"""
function query end

Expand Down

0 comments on commit 9df77e9

Please sign in to comment.