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 +3 -0
- data/docs/Condition.md +3 -1
- data/docs/ConditionGroup.md +3 -1
- data/docs/HiddenColumn.md +2 -0
- data/docs/Pagination.md +2 -0
- data/docs/QueryColumn.md +2 -0
- data/docs/Sorting.md +2 -0
- data/docs/SqlQuery.md +2 -0
- data/docs/Totals.md +2 -0
- data/docs/Transform.md +2 -0
- data/docs/TransformResult.md +2 -0
- data/lib/webapi-active-query-builder.rb +1 -1
- data/lib/webapi-active-query-builder/api/active_query_builder_api.rb +1 -1
- data/lib/webapi-active-query-builder/api_client.rb +1 -1
- data/lib/webapi-active-query-builder/api_error.rb +1 -1
- data/lib/webapi-active-query-builder/configuration.rb +1 -1
- data/lib/webapi-active-query-builder/models/condition.rb +2 -2
- data/lib/webapi-active-query-builder/models/condition_group.rb +1 -1
- data/lib/webapi-active-query-builder/models/hidden_column.rb +1 -1
- data/lib/webapi-active-query-builder/models/pagination.rb +1 -1
- data/lib/webapi-active-query-builder/models/query_column.rb +1 -1
- data/lib/webapi-active-query-builder/models/sorting.rb +1 -1
- data/lib/webapi-active-query-builder/models/sql_query.rb +1 -1
- data/lib/webapi-active-query-builder/models/totals.rb +1 -1
- data/lib/webapi-active-query-builder/models/transform.rb +1 -1
- data/lib/webapi-active-query-builder/models/transform_result.rb +1 -1
- data/lib/webapi-active-query-builder/version.rb +2 -2
- data/webapi-active-query-builder.gemspec +1 -1
- metadata +2 -2
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.
|
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
|
|
data/docs/ConditionGroup.md
CHANGED
@@ -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
|
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
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
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
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
data/docs/TransformResult.md
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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-
|
12
|
+
date: 2016-09-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: typhoeus
|