From 7ddac17c4c88b27ee4c34ed34f7de5dfa058ae6a Mon Sep 17 00:00:00 2001 From: metab0t Date: Wed, 11 Jan 2023 22:05:53 +0800 Subject: [PATCH] Fix wrong default value of keyword argument in docstring --- src/SQLite.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SQLite.jl b/src/SQLite.jl index fac2830..1ec7fad 100644 --- a/src/SQLite.jl +++ b/src/SQLite.jl @@ -688,7 +688,7 @@ function rollback(db::DB, name::AbstractString) end """ - SQLite.drop!(db, table; ifexists::Bool=true) + SQLite.drop!(db, table; ifexists::Bool=false) drop the SQLite table `table` from the database `db`; `ifexists=true` will prevent an error being thrown if `table` doesn't exist """ @@ -701,7 +701,7 @@ function drop!(db::DB, table::AbstractString; ifexists::Bool = false) end """ - SQLite.dropindex!(db, index; ifexists::Bool=true) + SQLite.dropindex!(db, index; ifexists::Bool=false) drop the SQLite index `index` from the database `db`; `ifexists=true` will not return an error if `index` doesn't exist """