Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emehrkay/Compass
/ functions
Functions
74 in github.com/emehrkay/Compass
⨍
Functions
74
◇
Types & classes
17
↓ 18 callers
Function
randomName
(prefix, loop=2)
tests.py:14
↓ 12 callers
Method
document
(self, rid=None, **data)
client.py:322
↓ 11 callers
Method
database
Sends a request the server for a database will both add new and query existing databases. Returns a Datase object
client.py:110
↓ 8 callers
Method
get
Perform an HTTP GET request for a given URL. Returns the response object.
request.py:133
↓ 6 callers
Method
klass
Sends a request the server for class information will both add new and query existing classes. Returns a Klass object
client.py:204
↓ 5 callers
Method
__init__
(self, database, name=None, schema=None, documents=None)
client.py:292
↓ 5 callers
Method
post
Perform an HTTP POST request for a given url. Returns the response object.
request.py:140
↓ 4 callers
Method
_request
(self, method, url, data={}, headers={})
request.py:247
↓ 4 callers
Method
property
(self, name, create=True)
client.py:325
↓ 3 callers
Method
connect
Creats a connection to the database
client.py:178
↓ 2 callers
Method
_findall
(self, text, substr)
request.py:164
↓ 2 callers
Method
_strftime
(self, dt, fmt)
request.py:180
↓ 2 callers
Method
define_documents
(self, documents=None, reset=False)
client.py:305
↓ 2 callers
Method
delete
(self)
client.py:438
↓ 2 callers
Method
query
(self, query)
client.py:319
↓ 2 callers
Method
relate
(self, field, document=None, rid=None, multiple=False)
client.py:421
↓ 1 callers
Method
__init__
(self, username=None, password=None, key_file=None, cert_file=None)
request.py:125
↓ 1 callers
Method
__str__
(self)
request.py:99
↓ 1 callers
Method
_create
(self, callback)
client.py:373
↓ 1 callers
Method
_json_encode
(self, data, ensure_ascii=False)
request.py:208
↓ 1 callers
Method
delete
(self)
client.py:364
↓ 1 callers
Method
info
This method queries the server for all of the information related to it
client.py:87
↓ 1 callers
Method
put
Perform an HTTP PUT request for a given url. Returns the response object.
request.py:147
↓ 1 callers
Function
randomNumber
()
tests.py:15
↓ 1 callers
Method
reload
This method will repopulate the data property of for the Database object
client.py:163
↓ 1 callers
Method
save
(self)
client.py:412
Method
__contains__
(self, key)
client.py:53
Method
__delitem__
(self, key)
client.py:65
Method
__getitem__
(self, key)
client.py:56
Method
__init__
(self, data)
client.py:27
Method
__init__
(self, url, username, password)
client.py:79
Method
__init__
(self, url, name, credentials, lang='sql', data=None)
client.py:148
Method
__init__
(self, database, data)
client.py:281
Method
__init__
(self, name, klass, data=None, callback=None)
client.py:355
Method
__init__
(self, rid, data, database=None, klass=None)
client.py:394
Method
__init__
(self, value, result=None)
request.py:32
Method
__init__
(self, value=None, result=None)
request.py:111
Method
__iter__
(self)
client.py:50
Method
__len__
(self)
client.py:47
Method
__setitem__
(self, key, value)
client.py:59
Method
__unicode__
(self)
request.py:105
Method
_any
(data)
request.py:210
Method
_define_schema
(self)
client.py:339
Method
_dict
(data)
request.py:237
Method
_list
(data)
request.py:231
Method
cluster
Queries the server for a Cluster object
client.py:192
Method
delete
If an extending object has a delete action, it will overwrite this method
client.py:40
Method
delete
Perform an HTTP DELETE request for a given url. Returns the response object.
request.py:154
Method
disconnect
Sends a disconnect request to the server
client.py:105
Method
document
(self, rid=None, class_name=None, **data)
client.py:251
Method
query
Sends a reqeust to the server based on a query
client.py:235
Method
save
If an extending object has a save action, it will overwrite this method
client.py:33
Method
setUp
(self)
tests.py:50
Method
setUp
(self)
tests.py:166
Method
setUp
(self)
tests.py:256
Method
test_can_connect_document_by_document
(self)
tests.py:209
Method
test_can_connect_document_by_rid
(self)
tests.py:193
Method
test_can_connect_to_database
(self)
tests.py:137
Method
test_can_create_class
(self)
tests.py:62
Method
test_can_create_database
(self)
tests.py:53
Method
test_can_create_document_on_class
(self)
tests.py:86
Method
test_can_create_document_on_database
(self)
tests.py:73
Method
test_can_create_property
(self)
tests.py:260
Method
test_can_create_property_on_class
(self)
tests.py:97
Method
test_can_delete_document
(self)
tests.py:240
Method
test_can_delete_property
(self)
tests.py:275
Method
test_can_query_database
(self)
tests.py:149
Method
test_can_retrieve_class
(self)
tests.py:124
Method
test_can_retrieve_database
(self)
tests.py:114
Method
test_can_retrieve_document_value
(self)
tests.py:169
Method
test_can_retrieve_server_info
(self)
tests.py:36
Method
test_can_run_query_and_get_results
(self)
tests.py:294
Method
test_can_save_docuemnt
(self)
tests.py:224
Method
test_can_set_document_value
(self)
tests.py:180