add database info retrieval interface