github.com/Tri-stone/burrow@v0.25.0/vent/types/sql_utils.go (about) 1 package types 2 3 import "github.com/hyperledger/burrow/vent/logger" 4 5 // SQLConnection stores parameters to build a new db connection & initialize the database 6 type SQLConnection struct { 7 DBAdapter string 8 DBURL string 9 DBSchema string 10 Log *logger.Logger 11 ChainID string 12 BurrowVersion string 13 } 14 15 // SQLCleanDBQuery stores queries needed to clean the database 16 type SQLCleanDBQuery struct { 17 SelectChainIDQry string 18 DeleteChainIDQry string 19 InsertChainIDQry string 20 SelectDictionaryQry string 21 DeleteDictionaryQry string 22 DeleteLogQry string 23 }