I'm guessing you've seen the nodejs driver docs here: https://github.com/datastax/nodejs-driver/tree/master/doc/getting-started is there something in particular you're looking for?
This one I saw. But there is no information about how to define a schema.
I can see only connection and query execution there
Ok so the driver should be compatible with normal CQL3 commands as per FAQ docs here says:
>Which versions of CQL does the driver support?
>It supports CQL version 3.
So you should be able to use a normal create table statement. Note one word of caution when doing schema changes programmatically - dont throw those in like you would normal writes. They need to be done less frequently and with more care.
4 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.