public void SetCollectionModule(Dictionary <string, object> data) { var tableName = "data_collection"; var upsertQuery = MariaQueryBuilder.UpsertQuery(tableName, data); MariaDBConnector.Instance.SetQuery(upsertQuery); }
public string Modify(JsonValue jsonObj) { var upsertQuery = MariaQueryBuilder.UpsertQuery(TableName, jsonObj, true); var res = MariaDBConnector.Instance.SetQuery("DynamicQueryExecuter", upsertQuery); return(res.ToString()); }