This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"trialLimit": 10, | |
"restrictedApis": ["^/v1/sql/.*$"], | |
"publicApis": ["^/v1/subscription/invite/.*$"], | |
"subscriptionBlocks": [ | |
{ | |
"bt": "ABC123", | |
"subscriptionId": "test-subscription1" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a | b | c | |
---|---|---|---|
1 | 2 | 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name":"a", | |
"surname": "b" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.15 | |
import QtQuick.Window 2.15 | |
import QtQuick.Controls 2.4 | |
Window { | |
visible: true | |
width: 640 | |
height: 480 | |
title: qsTr("QSqlQueryModel - TableView") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QGuiApplication> | |
#include <QQmlApplicationEngine> | |
#include <QQmlContext> | |
#include <QDebug> | |
#include "mysqlmodel.h" | |
int main(int argc, char *argv[]) | |
{ | |
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mysqlmodel.h" | |
MysqlModel::MysqlModel(QObject *parent) : QSqlQueryModel(parent) | |
{ | |
} | |
void MysqlModel::setQuery(const QString &query, const QSqlDatabase &db) | |
{ | |
QSqlQueryModel::setQuery(query, db); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef MYSQLMODEL_H | |
#define MYSQLMODEL_H | |
#include <QObject> | |
#include <QSqlQueryModel> | |
#include <QSqlRecord> | |
#include <QSqlField> | |
class MysqlModel : public QSqlQueryModel | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
class Test extends Component { | |
handleSort = (param) => { | |
let stateFlag = { ...this.state.flags }; | |
// Reset all flags | |
stateFlag.Id = false; | |
stateFlag.FirstName = false; | |
stateFlag.LastName = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef TESTING_H | |
#define TESTING_H | |
#include <QObject> | |
#include <QOAuth2AuthorizationCodeFlow> | |
#include <QNetworkAccessManager> | |
#include <QNetworkReply> | |
#include <QNetworkRequest> | |
#include <QUrl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.15 | |
import QtQuick.Window 2.15 | |
import QtQuick.Controls 2.5 | |
Window { | |
visible: true | |
width: 640 | |
height: 480 | |
title: qsTr("Google OAuth Test") |
NewerOlder