Hi there, you mentioned several GraphQL engines in your article https://blog.det.life/query-real-time-data-with-graphql-and-streaming-database-78bba4d08c97, among them there is Hasura. Is there any document about how to add RisingWave in Hasura?
bestmike007
Asked on Mar 20, 2024
// Example code snippet to add RisingWave as a Postgres database in cube.js
const cubejs = require('@cubejs-client/core');
const PostgresDriver = require('@cubejs-backend-postgres');
const cubejsApi = cubejs('YOUR-CUBEJS-API-TOKEN', {
driverFactory: () => new PostgresDriver({
host: 'YOUR-RISINGWAVE-HOST',
database: 'YOUR-RISINGWAVE-DATABASE',
user: 'YOUR-RISINGWAVE-USER',
password: 'YOUR-RISINGWAVE-PASSWORD',
}),
});