Truxton remove database id
Jump to navigation
Jump to search
This will remove an association of a table name with a file type.
This will remove a record from the [DatabaseTableName] table.
Syntax
uint32_t truxton_remove_database_id( uint64_t truxton_handle, uint64_t file_type_id, char const * table_and_column );
Parameters
truxton_handle
The handle created by the truxton_create call.
file_type_id
The type of file associated with this table name.
This corresponds to the [FileTypeID] column of the [DatabaseTableName] table.
table_and_column
The name of the table and column associated with the file type.
This corresponds to the [Name] column of the [DatabaseTableName] table.
Sample
void remove_my_database_id( uint64_t truxton_handle )
{
truxton_remove_database_id( truxton, Type_010_Help_Viewer, "ContentsTable.NamespaceId" );
truxton_remove_database_id( truxton, Type_010_Help_Viewer, "FileAttributeSetTable.FilterAttributeSetId" );
truxton_remove_database_id( truxton, Type_010_Help_Viewer, "FolderTable.NamespaceId" );
truxton_remove_database_id( truxton, Type_010_Help_Viewer, "IndexTable.Anchor" );
truxton_remove_database_id( truxton, Type_010_Help_Viewer, "OptimizedFilterTable.FilterAttributeId" );
truxton_remove_database_id( truxton, Type_010_Help_Viewer, "TimeStampTable.NamespaceId" );
}