A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/alculquicondor/psqlparse below:

alculquicondor/psqlparse: A python module that gives access to PostgreSQL's query parser, for turning SQL into a parse tree.

This project is not maintained anymore. If you would like to maintain it, send me a DM in twitter @alculquicondor.

This Python module uses the libpg_query to parse SQL queries and return the internal PostgreSQL parsetree.

import psqlparse
statements = psqlparse.parse('SELECT * from mytable')
used_tables = statements[0].tables()  # ['my_table']

tables is only available from version 1.0rc1

  1. Update dependencies
git submodule update --init
  1. Install requirements:
pip install -r requirements.txt
  1. Build Cython extension
USE_CYTHON=1 python setup.py build_ext --inplace
  1. Perform changes

  2. Run tests


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4