Lightweight 0.1.0
|
Callback interface for handling events while reading a database schema. More...
#include <SqlSchema.hpp>
Public Member Functions | |
EventHandler (EventHandler &&)=default | |
EventHandler (EventHandler const &)=default | |
EventHandler & | operator= (EventHandler &&)=default |
EventHandler & | operator= (EventHandler const &)=default |
virtual bool | OnTable (std::string_view table)=0 |
virtual void | OnPrimaryKeys (std::string_view table, std::vector< std::string > const &columns)=0 |
virtual void | OnForeignKey (ForeignKeyConstraint const &foreignKeyConstraint)=0 |
virtual void | OnColumn (Column const &column)=0 |
virtual void | OnExternalForeignKey (ForeignKeyConstraint const &foreignKeyConstraint)=0 |
virtual void | OnTableEnd ()=0 |
Callback interface for handling events while reading a database schema.
Definition at line 105 of file SqlSchema.hpp.