Giter VIP home page Giter VIP logo

quick-nerdy-sql-tool's People

Contributors

frabcus avatar zarino avatar

Watchers

 avatar  avatar  avatar

Forkers

pombredanne

quick-nerdy-sql-tool's Issues

Last letter typed gets selected in strange error mode

Sometimes it gets into a state where the editor window keeps clearing itself.

i.e. You type a key, and it appears. However, it is selected. So the next letter you type replaces the last one. And you never get any text.

Nobody knows how to reproduce this - i.e. get into the mode where this happens.

Wrong version of SQL docs linked to Edit

Trying to use instr in a SQL query results in a "no such function" error message.

Or maybe I should have posted this as "External help docs out of sync with supplied SQL functionality"...

The in-use version of SQLlite is 3.7.9 but the help link for "SQLite core functions" points to a page that describes a more recent (latest?) version. From the looks of things, instr was introduced in 3.7.15.

(originally at sensiblecodeio/custard#168)

Degrade gracefully when queries are slow

Perhaps even make the run button appear in cases where things are slow?

At the very least show better progress, and prevent it firing off quite so many events with stalls between them.

Download as CSV option

Add an option to download results of query as CSV

Build a string containing the CSV in real_run function, code.js, lines 20-37. Then write the string to the opened window api_json line 136

Doesn't apparently support REGEXP

Free user wanted to do a query using REGEXP.

According to the docs:

"The REGEXP operator is a special syntax for the regexp() user function. No regexp() user function is defined by default and so use of the REGEXP operator will normally result in an error message."

Distracting that it reloads while typing SQL

This particularly annoys Ian. He just wants a "Run" button.

For interesting reasons. Partly he's typing complex queries slowly on a large dataset. So it isn't very fast at doing the queries anyway, which I bet is causing trouble.

Most importantly, he says he really wants to concentrate on and craft the query, explicitly running it when it is ready. It's a kind of concentration and a attention.

Not authorized

The following query generates an error, presumably the first line:

CREATE TABLE linked_tweets AS
SELECT
tweet_url,
text
FROM tweets
WHERE text LIKE "%http://t.co%"
ORDER BY created_at DESC;

Add a "create view from this query" button

I would like a button which does a CREATE VIEW from the currently displayed SQL in the database.

This would allow me to publish URLs contains ie "SELECT * from enlightening_view" rather than a huge SELECT query with lots of joins etc.

This is useful for a number of reasons:

  • I don't necessarily want the user exposed to my schema
  • I'd like to be able to add tables, join on them, and update this without having to modify my published URL
  • I'd like to be able to modify column names because I'm pedantic.
  • I'd like to have multiple alternative data sources "voting" and I want this to be transparent to the user
  • I might want to have a private raw data set and a public (limited) view on it

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.