Connect using ClickHouse or PostgreSQL clients and SDKs.
Parameter | Value |
---|---|
Host | https://clickhouse.us-east-2.propeldata.com |
Port | 8443 |
Database | propel |
user | Your Propel Application ID |
password | Your Propel Application secret |
DATAPOOL_QUERY
scope.
Install the package
Import and create a client
Execute queries
APPLICATION_ID
and APPLICATION_SECRET
environment variables before running the application.
For more detailed documentation, refer to the ClickHouse Python client documentation.
@clickhouse/client
for Node.js@clickhouse/client-web
for browsers and Cloudflare workersInstall the package
Import and create a client
Execute queries
APPLICATION_ID
and APPLICATION_SECRET
environment variables before running the application.
ClickHouse JS supports various query formats, data streaming, and advanced features like query cancellation and custom settings. For more detailed documentation, refer to the ClickHouse JS client documentation.
Install the ClickHouse Go driver
Import and create a connection
Execute queries
APPLICATION_ID
and APPLICATION_SECRET
environment variables before running the application.
For more detailed documentation, refer to the ClickHouse Go driver documentation.
Add the dependency
Connect to the database
Execute queries
APPLICATION_ID
and APPLICATION_SECRET
environment variables before running the application.
For more detailed documentation, refer to the ClickHouse Java client documentation.
Add the dependency
Create a client instance
Execute queries
?fields
placeholder is replaced with the fields specified in the Row struct (no, name
in the example above).?
placeholders are replaced with values from subsequent bind()
calls in order.fetch_one::<Row>()
and fetch_all::<Row>()
are available to get a single row or all rows.sql::Identifier
to safely bind table names.psql
(PostgreSQL CLI)psql
, follow the steps below.
Install the package
Create connection file
Set environment variables
APPLICATION_ID
and APPLICATION_SECRET
environment variables with your actual credentials.Execute queries