How to use the cog.parser.Create function in cog

To help you get started, weโ€™ve selected a few cog examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github arun1729 / cog / cog / parser.py View on Github external
def process_create_statement(create_statement):
    m = re.match(create_table_pattern, create_statement)
    return Create(m.groupdict()["tablename"])