add dbm new model and fixed json_data
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/tecamino/tecamino-dbm/args"
|
||||
"github.com/tecamino/tecamino-dbm/cert"
|
||||
"github.com/tecamino/tecamino-dbm/dbm"
|
||||
@@ -87,11 +88,7 @@ func TestQuery(t *testing.T) {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
// for i, o := range dmaHandler.QueryDatapoints(".*002.*") {
|
||||
// fmt.Println(600, i, o)
|
||||
// }
|
||||
|
||||
for i, o := range dmaHandler.QueryDatapoints(1, "Test:A:000") {
|
||||
for i, o := range dmaHandler.DBM.QueryDatapoints(1, uuid.Nil, "Test:A:000") {
|
||||
fmt.Println(600, i, o)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user