Module schema

Source
Expand description

Index Schema

Constantsยง

CREATE_NAMESPACE_CQL ๐Ÿ”’
Keyspace Create (Templated)
SCHEMAS ๐Ÿ”’
All Schema Creation Statements

Functionsยง

create_namespace ๐Ÿ”’
Create the namespace we will use for this session Ok to run this if the namespace already exists.
create_schema ๐Ÿ”’
Create the Schema on the connected Cassandra DB
generate_cql_schema_version ๐Ÿ”’
Generates a unique schema version identifier based on the content of all CQL schemas.
namespace ๐Ÿ”’
Get the namespace for a particular db configuration
remove_comments_and_join_query_lines ๐Ÿ”’
Removes all comments from each line in the input query text and joins the remaining lines into a single string, reducing consecutive whitespace characters to a single space. Comments are defined as any text following -- on a line.