Skip to main content

Building queries

Project description

simpleSQLBuilder

Example

from simpleSQLBuilder.QueryBuilder import QueryBuilder

print(QueryBuilder().from_('users').select('id').select('name', 'email').where('id < 3').build().result) # 'SELECT id,name,email FROM users WHERE id < 3'

print(QueryBuilder().from_('users').where('id < 3').where('coin > 100').build().result) # 'SELECT * FROM users WHERE id < 3 AND coin > 100'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simpleSQLBuilder-1.0.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simpleSQLBuilder-1.0.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file simpleSQLBuilder-1.0.1.tar.gz.

File metadata

  • Download URL: simpleSQLBuilder-1.0.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for simpleSQLBuilder-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ac04189ec6e8bd50a58a410787607cc6448f8a6c97bac27ef4aa8de4127ee62f
MD5 ba40af7daa02d196d72da7e10d9178b9
BLAKE2b-256 9b7c9503f1f3e5c4a5a185baa2d05b1f5339ad1cc08f7f93628216c2f6df88fc

See more details on using hashes here.

File details

Details for the file simpleSQLBuilder-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: simpleSQLBuilder-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for simpleSQLBuilder-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d76420e378a720806edae735eb54699205d0f25952c67438b5a7d5c2e38e7bd2
MD5 e1e07810e0ae3595e74a077007e4752c
BLAKE2b-256 8781041a57951349a563c9a6002227d4f3d7aff190953101ce470885d228bd21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page