Skip to content

Commit

Permalink
typos (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaette authored Jul 4, 2024
1 parent 5e13374 commit f325279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ for row in results
row[1] # access the first column in the row results
end

# results also implicitly satisfy the Tables.jl `Tables.rows` inteface, so any compatible sink can ingest results
# results also implicitly satisfy the Tables.jl `Tables.rows` interface, so any compatible sink can ingest results
df = DataFrame(results)
CSV.write("results.csv", results)

Expand Down
2 changes: 1 addition & 1 deletion src/DBInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const StatementParams = Union{PositionalStatementParams, NamedStatementParams}
Database packages should overload `DBInterface.execute` for a valid, prepared `DBInterface.Statement` subtype (the first method
signature is defined in DBInterface.jl using `DBInterface.prepare`), which takes an optional `params` argument, which should be
an indexable collection (`Vector` or `Tuple`) for positional parameters, or a `NamedTuple` for named parameters.
Alternatively, the parameters could be specified as keyword agruments of `DBInterface.execute`.
Alternatively, the parameters could be specified as keyword arguments of `DBInterface.execute`.
`DBInterface.execute` should return a valid `DBInterface.Cursor` object, which is any iterator of "rows",
which themselves must be property-accessible (i.e. implement `propertynames` and `getproperty` for value access by name),
Expand Down

0 comments on commit f325279

Please sign in to comment.