dboo::odb::rebuild_index
void rebuild_index ( const cls_id& id, const field_name& fieldname );
template<class type>
void rebuild_index ( const field_name& fieldname );
template<typename MT, typename C>
void rebuild_index(MT C::* field);
void rebuild_index ( const std::string& pattern );
rebuild_index( class, field_name )
rebuild_index( class_name, field_name )
Rebuilds an index’s configuration.
- 1
Rebuilds the specified index
- 2
Rebuild all indices matching specified regex
Parameters
- id
- field_name
- pattern
A regex matching index names
Type requirements
Return value
Exceptions
Example