Git Product home page Git Product logo

sql-smith's Introduction

Hi ๐Ÿ‘‹ My name is Franky Braem

Developer - Frontend/Backend

I'm a developer for more then 30 years. It all started with a Commodore 64... I've developed in BASIC, Pascal, Clipper, C/C++, PHP, Java, Perl, Python, JavaScript, ... At work mainly developing web applications with Python/Vue for the network team. At home it's PHP/Python/Vue.

  • ๐ŸŒย  I'm based in Kemzeke, Belgium
  • ๐Ÿ–ฅ๏ธย  See my portfolio at Zumuta
  • โœ‰๏ธย  You can contact me at [email protected]
  • ๐Ÿš€ย  I'm currently working on Kwai
  • โšกย  If I'm not programming, chances are I'm on my bike...

Skills

C++ JavaScript Java PHP Python TypeScript HTML5 Vue TailwindCSS NodeJS Fast API MongoDB MySQL PostgreSQL Flask

Socials

Support Me

sql-smith's People

Contributors

fbraem avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

trollfot

sql-smith's Issues

Use with encode/databases

Hello,
First of all, thank you very much for this very nice package. Very readable code that i would very much like to use.
In my project, I generate queries to use with the encode/databases package for async access to several sql backends.
I tried to create an engine that would generate databases like query, that use a :query_arg style notation.
It seems that parameters are not aware of their own names, so I'm running into problems. Am I missing something ?

https://www.encode.io/databases/database_queries/ for references

Thank you very much.

Select from Query instead of Table

Is there any way to select from a query instead of a table?

Say I was given a complicated query with lots of table joins and conditions, but I wanted to select from it similar to a common table expression (CTE).

For example,
Assuming the "query" returns a table like data set and I would filter that data set as normal in the
query = "select field1, field2, ... from table1 inner join table2 inner join table3 ..."

Given the above query, I would like to select from it as follows, using the ".from()" from sql-smith, resulting in the following query output:

SELECT * FROM (query) AS api_query WHERE field1 = 2112

Is this possible?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.