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

In progress... Not accept yet