Utility functions for the manikin database interface