Skip to content

Commit 5e0c636

Browse files
authored
Merge pull request #246 from invenia/ed/doc-not_null
Add doc for `not_null` argument to `execute`
2 parents 3e107aa + afb1607 commit 5e0c636

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/results.jl

+6
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ end
259259
column_types::AbstractDict=ColumnTypeMap(),
260260
type_map::AbstractDict=LibPQ.PQTypeMap(),
261261
conversions::AbstractDict=LibPQ.PQConversions(),
262+
not_null::Union{Bool, AbstractVector}=false,
262263
) -> Result
263264
264265
Run a query on the PostgreSQL database and return a `Result`.
@@ -273,6 +274,11 @@ strings to PostgreSQL.
273274
274275
`column_types` accepts type overrides for columns in the result which take priority over
275276
those in `type_map`.
277+
278+
`not_null` indicates whether parsed columns should be able to contain null values, parsed as
279+
`missing`. The argument can be a single `Bool` for all columns, a list of `Bool`, or a list
280+
of column names.
281+
276282
For information on the `column_types`, `type_map`, and `conversions` arguments, see
277283
[Type Conversions](@ref typeconv).
278284

0 commit comments

Comments
 (0)