webapi-active-query-builder 1.1.3 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -53,3 +53,6 @@ Class | Method | HTTP request | Description
53
53
 
54
54
  All endpoints do not require authorization.
55
55
 
56
+
57
+ ## Source code
58
+ Full source code of all clients for Active Query Builder Web API is available on GitHub. Get the source code of javascript here: [https://github.com/ActiveDbSoft/webapi-active-query-builder-ruby](https://github.com/ActiveDbSoft/webapi-active-query-builder-ruby)
data/docs/Condition.md CHANGED
@@ -1,10 +1,12 @@
1
1
  # WebApiActivequerybuilder::Condition
2
2
 
3
+ Defines a constraint for original query resultset values.
4
+
3
5
  ## Properties
4
6
  Name | Type | Description | Notes
5
7
  ------------ | ------------- | ------------- | -------------
6
8
  **field** | **String** | Column of original query to which a constraint will applied. | [optional]
7
9
  **condition_operator** | **String** | Condition operator. | [optional]
8
- **values** | **Array<String>** | List of values for a constraint. \"IsNull\", \"IsNotNull\" need no values; \"Between\", \"NotBetween\" require 2 values; \"In\" accepts one or more values; other conditions accept single value only. | [optional]
10
+ **values** | **Array<String>** | List of values for a constraint. 'IsNull', 'IsNotNull' need no values; 'Between', 'NotBetween' require 2 values; 'In' accepts one or more values; other conditions accept single value only. | [optional]
9
11
 
10
12
 
@@ -1,9 +1,11 @@
1
1
  # WebApiActivequerybuilder::ConditionGroup
2
2
 
3
+ Group of conditions joined with the same boolean operator.
4
+
3
5
  ## Properties
4
6
  Name | Type | Description | Notes
5
7
  ------------ | ------------- | ------------- | -------------
6
- **junction_type** | **String** | Type of junction. All = AND; Any = OR. | [optional]
8
+ **junction_type** | **String** | Type of junction. All = AND; Any = OR. | [optional]
7
9
  **conditions** | [**Array<Condition>**](Condition.md) | List of conditions to join. | [optional]
8
10
  **condition_groups** | [**Array<ConditionGroup>**](ConditionGroup.md) | List of nested condition groups to join them with a different boolean operator. | [optional]
9
11
 
data/docs/HiddenColumn.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # WebApiActivequerybuilder::HiddenColumn
2
2
 
3
+ Instructs to exclude some columns of original query from the SELECT list of transformed query.
4
+
3
5
  ## Properties
4
6
  Name | Type | Description | Notes
5
7
  ------------ | ------------- | ------------- | -------------
data/docs/Pagination.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # WebApiActivequerybuilder::Pagination
2
2
 
3
+ Instructs to limit the number of rows in transformed query resultset taking limitations of original query into account. In other words, if original query contains row limitation clause, it will be wrapped into a derived table and additional row limitation clause will be added ontop.
4
+
3
5
  ## Properties
4
6
  Name | Type | Description | Notes
5
7
  ------------ | ------------- | ------------- | -------------
data/docs/QueryColumn.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # WebApiActivequerybuilder::QueryColumn
2
2
 
3
+ Provides information about particular SQL query column
4
+
3
5
  ## Properties
4
6
  Name | Type | Description | Notes
5
7
  ------------ | ------------- | ------------- | -------------
data/docs/Sorting.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # WebApiActivequerybuilder::Sorting
2
2
 
3
+ Determines rows order in transformed query. If there aren't any sortings, the original query sorting is kept.
4
+
3
5
  ## Properties
4
6
  Name | Type | Description | Notes
5
7
  ------------ | ------------- | ------------- | -------------
data/docs/SqlQuery.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # WebApiActivequerybuilder::SqlQuery
2
2
 
3
+ Information about SQL query and it's context.
4
+
3
5
  ## Properties
4
6
  Name | Type | Description | Notes
5
7
  ------------ | ------------- | ------------- | -------------
data/docs/Totals.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # WebApiActivequerybuilder::Totals
2
2
 
3
+ If any aggregations are defined there, the SELECT list of original query is replaced with the list of aggregations in transformed query. Filling aggregations is useful when you want to get totals for original query resultset.
4
+
3
5
  ## Properties
4
6
  Name | Type | Description | Notes
5
7
  ------------ | ------------- | ------------- | -------------
data/docs/Transform.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # WebApiActivequerybuilder::Transform
2
2
 
3
+ SQL transformation parameters and commands.
4
+
3
5
  ## Properties
4
6
  Name | Type | Description | Notes
5
7
  ------------ | ------------- | ------------- | -------------
@@ -1,5 +1,7 @@
1
1
  # WebApiActivequerybuilder::TransformResult
2
2
 
3
+ Returns transformed SQL text in case of successful transformation. Otherwise returns error message.
4
+
3
5
  ## Properties
4
6
  Name | Type | Description | Notes
5
7
  ------------ | ------------- | ------------- | -------------
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -32,7 +32,7 @@ module WebApiActivequerybuilder
32
32
  # Condition operator.
33
33
  attr_accessor :condition_operator
34
34
 
35
- # List of values for a constraint. \"IsNull\", \"IsNotNull\" need no values; \"Between\", \"NotBetween\" require 2 values; \"In\" accepts one or more values; other conditions accept single value only.
35
+ # List of values for a constraint. 'IsNull', 'IsNotNull' need no values; 'Between', 'NotBetween' require 2 values; 'In' accepts one or more values; other conditions accept single value only.
36
36
  attr_accessor :values
37
37
 
38
38
  class EnumAttributeValidator
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #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 https://webapi.activequerybuilder.com/.
5
5
 
6
- OpenAPI spec version: 1.1.3
6
+ OpenAPI spec version: 1.1.6
7
7
  Contact: support@activedbsoft.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -22,5 +22,5 @@ limitations under the License.
22
22
  =end
23
23
 
24
24
  module WebApiActivequerybuilder
25
- VERSION = "1.1.3"
25
+ VERSION = "1.1.6"
26
26
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  #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 https://webapi.activequerybuilder.com/.
7
7
 
8
- OpenAPI spec version: 1.1.3
8
+ OpenAPI spec version: 1.1.6
9
9
  Contact: support@activedbsoft.com
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webapi-active-query-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-22 00:00:00.000000000 Z
12
+ date: 2016-09-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: typhoeus