dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
chore(deps): bump url-parse fro… (compare)
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
chore(deps): bump prismjs from … (compare)
dependabot[bot] on npm_and_yarn
pip install PyCovenantSQL
import pycovenantsql.cursors
connection = pycovenantsql.connect (
host='e.morenodes.com',
port=11111,
key="read.data.covenantsql.io.key",
https_pem ='read.data.covenantsql.io.pem',
database='057e55460f501ad071383c95f691293f2f0a7895988e22593669ceeb52a6452a'
)
with connection.cursor() as cursor:
cursor.execute("select * from quandl_updateindex where databasecode like 'BIS' group by quandlcode limit 1000")
cursor.fetchall()
"cql": {
"endpoint": "0.0.0.0:11105",
"database": "0a10b74439f2376d828c9a70fd538dac4b69e0f4065424feebc0f5dbc8b34872"
}
I have created a database(id : 0a10b74439f2376d828c9a70fd538dac4b69e0f4065424feebc0f5dbc8b34872) where already I have done some read write operation through the console and those logs can be seen in the explorer.
I am using this config file to connect that database, but cql.createConnection() is returning null connection object.
I have created config.yaml and private key using cql generate but I am failed to create database using those files
endpoint
config should either point to 'https://testnet-proxy.covenantsql.io’ or local proxy set by your self.