Git Product home page Git Product logo

Comments (5)

manticore-projects avatar manticore-projects commented on May 30, 2024 1

Thank you so much, I will look into that. I have been heavily invested in working on JSQLParser, which is the foundation of the Formatter. You can expected much improved parsing speed, especially when using nested expression soon.

At the moment, a lot of Expressions like Cast, Interval, Between are only "passed through" because it won't affect the layout of the formatted SQL. But of course it affects the Spelling and the (Ansi) Syntax Highlighting, so I need die hard and complete this part and address ALL Expressions.

from jsqlformatter.

manticore-projects avatar manticore-projects commented on May 30, 2024

from jsqlformatter.

csonuryilmaz avatar csonuryilmaz commented on May 30, 2024

👍 Thanks, I will follow your updates.

Currently I'm using formatter in job hours for real business cases while working. So it's under beta testing now. 😊

from jsqlformatter.

csonuryilmaz avatar csonuryilmaz commented on May 30, 2024

0.1.7 brings some keyword fixes to this issue. 👍

I have two examples which may require additional work to cover for keywords: distinct, null, interval

update sms_queue sq
set sq.gateway_sms_id = NULL
    , sq.date_sent_sms = NULL
    , sq.sms_status_id = 1
    , sq.date_added = Now() - INTERVAL 1 minute
    , sq.date_should_sent = Now() - INTERVAL 1 minute
where sq.sms_id = 2864158
;
select  ccp.product_id
        , Count( DISTINCT ccp.campaign_id )
from campaign_constraint_product ccp
  left join campaign c
    on c.campaign_id = ccp.campaign_id
      and c.status = 1
where product_id in ( 414732, 530729 )
group by ccp.product_id
order by 2 desc
limit 10
;

from jsqlformatter.

Related Issues (8)

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.