Did you figure this out?
Your question isn’t very clear an could be the reason no one has replied.
Are you trying to insert fields into the database? Can you explain what you’re doing?
or get a list of fields? What list of fields? All of the fields added using ACF or just the fields for a specific post?