Skip to content

Getter that returns boost::optional #7

Description

@sgielen

There should be a getter to replace the following line:

boost::optional<uint64_t> foo(statement.is_null("foo") ? optional<uint64_t>() : statement.get_uint64("foo"))

With something like:

boost::optional<uint64_t> foo = statement.get_uint64_optional("foo)";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions