horejsek / python-sqlpuzzle Goto Github PK
View Code? Open in Web Editor NEWPython module for writing SQL queries.
Home Page: http://horejsek.github.io/python-sqlpuzzle/
License: MIT License
Python module for writing SQL queries.
Home Page: http://horejsek.github.io/python-sqlpuzzle/
License: MIT License
Would be great to be able use custom SQL (or any object of sqlpuzzle) as a dict key.
$ pip install sqlpuzzle Downloading/unpacking sqlpuzzle Downloading sqlpuzzle-1.1.0.tar.gz Running setup.py egg_info for package sqlpuzzle Traceback (most recent call last): File "", line 14, in File "/home/aisayko/virtualenvs/ebooking_network/build/sqlpuzzle/setup.py", line 22, in install_requires=[str(ir.req) for ir in parse_requirements('requirements.txt')], File "/home/aisayko/virtualenvs/ebooking_network/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1240, in parse_requirements skip_regex = options.skip_requirements_regex AttributeError: 'NoneType' object has no attribute 'skip_requirements_regex' Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 14, in File "/home/aisayko/virtualenvs/ebooking_network/build/sqlpuzzle/setup.py", line 22, in install_requires=[str(ir.req) for ir in parse_requirements('requirements.txt')], File "/home/aisayko/virtualenvs/ebooking_network/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1240, in parse_requirements skip_regex = options.skip_requirements_regex AttributeError: 'NoneType' object has no attribute 'skip_requirements_regex'
Hi,
INSERT and UPDATE (maybe others) in MySQL support IGNORE statement. Please add it :)
Thanks.
For example:
NOT(Q(a=1) | Q(b=2))
It would be cool to define index hints use index (primary)
or ignore index (primary)
on tables during select or join.
For example in sqlalchemy it's with_hint clause. https://docs.sqlalchemy.org/en/14/orm/query.html#sqlalchemy.orm.Query.with_hint
sqlite has not "INSERT ..... ON DUPLICATE KEY UPDATE"
but has simply "REPLACE INTO" or "INSERT OR REPLACE INTO", ...
https://www.sqlite.org/lang_insert.html
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.