Method of Gnomon GetAllSCIDVariableDetails() where DB type is defined by Indexer.DBType
(scid string)
| 2016 | |
| 2017 | // Method of Gnomon GetAllSCIDVariableDetails() where DB type is defined by Indexer.DBType |
| 2018 | func (g *Gnomon) GetAllSCIDVariableDetails(scid string) (vars []*structures.SCIDVariable) { |
| 2019 | switch g.Index.DBType { |
| 2020 | case "gravdb": |
| 2021 | return g.Index.GravDBBackend.GetAllSCIDVariableDetails(scid) |
| 2022 | case "boltdb": |
| 2023 | return g.Index.BBSBackend.GetAllSCIDVariableDetails(scid) |
| 2024 | default: |
| 2025 | return |
| 2026 | } |
| 2027 | } |
| 2028 | |
| 2029 | // Method of Gnomon GetSCIDValuesByKey() where DB type is defined by Indexer.DBType |
| 2030 | func (g *Gnomon) GetSCIDValuesByKey(scid string, key interface{}) (valuesstring []string, valuesuint64 []uint64) { |
no outgoing calls
no test coverage detected