feat(database): use array to record multiple values (refs #2761)