Exemple #1
0
        public void SetCollectionModule(Dictionary <string, object> data)
        {
            var tableName   = "data_collection";
            var upsertQuery = MariaQueryBuilder.UpsertQuery(tableName, data);

            MariaDBConnector.Instance.SetQuery(upsertQuery);
        }
Exemple #2
0
        public string Modify(JsonValue jsonObj)
        {
            var upsertQuery = MariaQueryBuilder.UpsertQuery(TableName, jsonObj, true);

            var res = MariaDBConnector.Instance.SetQuery("DynamicQueryExecuter", upsertQuery);

            return(res.ToString());
        }