Add function to return compiled DB type.