Closed xitology closed 3 years ago
Under current Julia master, calling DBInterface.execute() triggers a warning on the use of kwargs.data:
DBInterface.execute()
kwargs.data
julia> versioninfo() Julia Version 1.7.0-DEV.1079 Commit e4f79b7167* (2021-05-10 15:38 UTC) Platform Info: OS: Linux (x86_64-linux-gnu) CPU: Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-11.0.1 (ORCJIT, skylake) Environment: JULIA_EDITOR = gvim julia> using SQLite julia> conn = SQLite.DB() SQLite.DB(":memory:") julia> DBInterface.execute(conn, "SELECT 42") ┌ Warning: use values(kwargs) and keys(kwargs) instead of kwargs.data and kwargs.itr │ caller = #execute#2 at DBInterface.jl:144 [inlined] └ @ Core ~/.julia/packages/DBInterface/JigqR/src/DBInterface.jl:144 SQLite.Query(SQLite.Stmt(SQLite.DB(":memory:"), 1), Base.RefValue{Int32}(100), [Symbol("42")], Type[Union{Missing, Int64}], Dict(Symbol("42") => 1))
The warning was introduced in https://github.com/JuliaLang/julia/pull/39448.
Under current Julia master, calling
DBInterface.execute()
triggers a warning on the use ofkwargs.data
:The warning was introduced in https://github.com/JuliaLang/julia/pull/39448.