Skip to content

Breaking Changes between versions 1.1.3 and 1.60 #329

@qSeven

Description

@qSeven

The type returned by SQLite.tables is not compatible between versions 1.1.3

In version 1.1.3:

julia> typeof(SQLite.tables(db))
NamedTuple{(:name,), Tuple{Vector{Union{Missing, String}}}}

and in version 1.6.0

julia> typeof(SQLite.tables(db))
Vector{SQLite.DBTable} (alias for Array{SQLite.DBTable, 1})

In 1.1.3 I had to use table.name to access the tables and this broke my code when updating to 1.6.0.

According to https://pkgdocs.julialang.org/v1/compatibility/ this shouldn't happen :/

Hope this is helpful to others,
Shane

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions