Skip to content

Support explicit insertion of boost::none #48

@bjoernpollex

Description

@bjoernpollex

It would be useful to support explicitly inserting NULL values by writing boost::none, like this:

db << "INSERT INTO foo(field) VALUES (?)" << boost::none;

Currently this does not work because boost::none is a special type, and not automatically converted to any of the overloads for boost::optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions