Skip to content

Commit 48a3bf0

Browse files
committed
Add time between queries
1 parent 0c55683 commit 48a3bf0

30 files changed

+1272
-8
lines changed

appwrite.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |spec|
22

33
spec.name = 'appwrite'
4-
spec.version = '17.0.0'
4+
spec.version = '17.1.0'
55
spec.license = 'BSD-3-Clause'
66
spec.summary = 'Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API'
77
spec.author = 'Appwrite Team'
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
require 'appwrite'
2+
3+
include Appwrite
4+
5+
client = Client.new
6+
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
8+
.set_key('<YOUR_API_KEY>') # Your secret API key
9+
10+
databases = Databases.new(client)
11+
12+
result = databases.create_line_attribute(
13+
database_id: '<DATABASE_ID>',
14+
collection_id: '<COLLECTION_ID>',
15+
key: '',
16+
required: false,
17+
default: '' # optional
18+
)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
require 'appwrite'
2+
3+
include Appwrite
4+
5+
client = Client.new
6+
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
8+
.set_key('<YOUR_API_KEY>') # Your secret API key
9+
10+
databases = Databases.new(client)
11+
12+
result = databases.create_point_attribute(
13+
database_id: '<DATABASE_ID>',
14+
collection_id: '<COLLECTION_ID>',
15+
key: '',
16+
required: false,
17+
default: '' # optional
18+
)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
require 'appwrite'
2+
3+
include Appwrite
4+
5+
client = Client.new
6+
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
8+
.set_key('<YOUR_API_KEY>') # Your secret API key
9+
10+
databases = Databases.new(client)
11+
12+
result = databases.create_polygon_attribute(
13+
database_id: '<DATABASE_ID>',
14+
collection_id: '<COLLECTION_ID>',
15+
key: '',
16+
required: false,
17+
default: '' # optional
18+
)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
require 'appwrite'
2+
3+
include Appwrite
4+
5+
client = Client.new
6+
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
8+
.set_key('<YOUR_API_KEY>') # Your secret API key
9+
10+
databases = Databases.new(client)
11+
12+
result = databases.update_line_attribute(
13+
database_id: '<DATABASE_ID>',
14+
collection_id: '<COLLECTION_ID>',
15+
key: '',
16+
required: false,
17+
default: '', # optional
18+
new_key: '' # optional
19+
)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
require 'appwrite'
2+
3+
include Appwrite
4+
5+
client = Client.new
6+
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
8+
.set_key('<YOUR_API_KEY>') # Your secret API key
9+
10+
databases = Databases.new(client)
11+
12+
result = databases.update_point_attribute(
13+
database_id: '<DATABASE_ID>',
14+
collection_id: '<COLLECTION_ID>',
15+
key: '',
16+
required: false,
17+
default: '', # optional
18+
new_key: '' # optional
19+
)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
require 'appwrite'
2+
3+
include Appwrite
4+
5+
client = Client.new
6+
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
8+
.set_key('<YOUR_API_KEY>') # Your secret API key
9+
10+
databases = Databases.new(client)
11+
12+
result = databases.update_polygon_attribute(
13+
database_id: '<DATABASE_ID>',
14+
collection_id: '<COLLECTION_ID>',
15+
key: '',
16+
required: false,
17+
default: '', # optional
18+
new_key: '' # optional
19+
)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
require 'appwrite'
2+
3+
include Appwrite
4+
5+
client = Client.new
6+
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
8+
.set_key('<YOUR_API_KEY>') # Your secret API key
9+
10+
tables_db = TablesDB.new(client)
11+
12+
result = tables_db.create_line_column(
13+
database_id: '<DATABASE_ID>',
14+
table_id: '<TABLE_ID>',
15+
key: '',
16+
required: false,
17+
default: '' # optional
18+
)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
require 'appwrite'
2+
3+
include Appwrite
4+
5+
client = Client.new
6+
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
8+
.set_key('<YOUR_API_KEY>') # Your secret API key
9+
10+
tables_db = TablesDB.new(client)
11+
12+
result = tables_db.create_point_column(
13+
database_id: '<DATABASE_ID>',
14+
table_id: '<TABLE_ID>',
15+
key: '',
16+
required: false,
17+
default: '' # optional
18+
)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
require 'appwrite'
2+
3+
include Appwrite
4+
5+
client = Client.new
6+
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
8+
.set_key('<YOUR_API_KEY>') # Your secret API key
9+
10+
tables_db = TablesDB.new(client)
11+
12+
result = tables_db.create_polygon_column(
13+
database_id: '<DATABASE_ID>',
14+
table_id: '<TABLE_ID>',
15+
key: '',
16+
required: false,
17+
default: '' # optional
18+
)

0 commit comments

Comments
 (0)