Regarding Custom Fields save in multichain Database

+3 votes

I added custom fields in Multi-chain issues tab but i am not able to save my custom field value into database of multi chain. I checked database of multi-chain but they are in .dat files. How can i achieve these now.

asked Nov 2, 2017 by Avinash

1 Answer

+1 vote
Avinash, Looks like that you have added custom fields in the asset issue from Multichain web demo. If yes, the custom fields and values are stored along with assets, you will see them if you do 'listassets' using multichain-cli tool. You don't need to access the database and other system files to see them.
answered Nov 2, 2017 by saravana

We wants to see the database how the data is saving in .dat files and queries in the database.

MultiChain uses a combination of proprietary binary data files and the LevelDB embedded database engine. I'm afraid we don't document its method of storage (and it might well change in future versions of MultiChain), so you'd need to consult the source code to find this information out.
Hi multichain,

Thanks for the reply, so how we can do customizations in multichain means how we can save the customly added fields save in database.

If I understand correctly, you want to make a copy of the custom asset fields in an external database. For now you need to do this by building a tool which retrieves this information from the MultiChain API and inserts it into your database.