Module: WebApiActivequerybuilder

Defined in:
lib/webapi-active-query-builder/version.rb,
lib/webapi-active-query-builder.rb,
lib/webapi-active-query-builder/api_error.rb,
lib/webapi-active-query-builder/api_client.rb,
lib/webapi-active-query-builder/configuration.rb,
lib/webapi-active-query-builder/models/totals.rb,
lib/webapi-active-query-builder/models/sorting.rb,
lib/webapi-active-query-builder/models/condition.rb,
lib/webapi-active-query-builder/models/sql_query.rb,
lib/webapi-active-query-builder/models/transform.rb,
lib/webapi-active-query-builder/models/pagination.rb,
lib/webapi-active-query-builder/models/query_column.rb,
lib/webapi-active-query-builder/models/hidden_column.rb,
lib/webapi-active-query-builder/models/condition_group.rb,
lib/webapi-active-query-builder/models/transform_result.rb,
lib/webapi-active-query-builder/api/active_query_builder_api.rb

Overview

#QueryBuilderApi

#Active Query Builder Web API lets create, analyze and modify SQL queries for different database servers using RESTful HTTP requests to a cloud-based service. It requires SQL execution context (information about database schema and used database server) to be stored under the registered account at webapi.activequerybuilder.com/.

OpenAPI spec version: 1.1.8 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Defined Under Namespace

Classes: ActiveQueryBuilderApi, ApiClient, ApiError, Condition, ConditionGroup, Configuration, HiddenColumn, Pagination, QueryColumn, Sorting, SqlQuery, Totals, Transform, TransformResult

Constant Summary collapse

VERSION =
"1.1.8"

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

WebApiActivequerybuilder.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.


53
54
55
56
57
58
59
# File 'lib/webapi-active-query-builder.rb', line 53

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end