Giter VIP home page Giter VIP logo

sqltabs's Introduction

SQL Tabs

Rich SQL client. Home www.sqltabs.com

Supported databases:

- Postgresql
- MySQL / MariaDB
- MS SQL
- Amazon Redshift
- AlaSQL

Supported Platforms:

- Mac
- Windows
- Linux

Building

In order to run SQL Tabs from source code follow the next steps: (In case of any issues please report them here)

node.js not higher than v10 is required

  1. Install npm - a javascript package manager

  2. Get the code, install dependencies and build the application:

     git clone https://github.com/sasha-alias/sqltabs
     cd sqltabs
     npm install
    
  3. Run the application:

     npm start
    

Contribution and issues reports are very appreciated.

Platform specific things

You might want to rebuild grpc for firebase driver to work:

    npm rebuild grpc --runtime=electron --target=4.1.0 --target_archx64

sqltabs's People

Contributors

crudo avatar maury91 avatar olsender avatar poorlymac avatar sasha-alias avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sqltabs's Issues

Uppercase in schema name

If a schema name has lower and upper case letters, the objects (tables) are not found. The schema name should be escaped with double quotes before being used in queries, I think.

Connect through SSH

It is common for production DBs to not be open to outside connections. Normally, this is handled by SSHing into a server which can connect to the DB and then proxying through that way. Would be really useful for SQLTabs to support this.

For example, see this screenshot taken from another PG GUI:
screen shot 2015-12-29 at 11 50 33 am

Non-persistent database connexion

I'm using intensively temp tables and I like to run each query step by step (block by block ;)) but the connexion is close after each run and all my temp tables are lost...

It woul be great to keep the connexion open !

App freeze

I can't determine exactly when but sometimes the app freeze (I'm navigating in SQL code using my keyboard and cursor can't move). 100% of the CPU is used !
How can I give you more info (logs, ... ?).

Error during open saved connection

Hi!

From time to time system show following error when i try to open saved connection from the list:

Error: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?

Frozen/locked column headings

When I execute queries that return many rows, it would be nice if the column headings stayed visible as I scrolled down. This is particularly relevant when you've got multiple foreign keys right next to each other, as it can be hard to remember which particular integer you're interested in without scrolling back to the top.

N.B. Thanks for a slick, lightweight, fast alternative to pgAdmin3!

Formatting and syntax highlighting for for JSON fields in PostgreSQL

Было бы логично отображать данные в JSON полях в PostgreSQL отформатированными и с подсветкой синтаксиса, а не просто текстом, как сейчас.

It seems logical to show JSON fields' data in PostgreSQL formatted and with highlighted syntax, not as plain text as it is now.

Missing charts when executing all blocks

If I have more than one chart block in my SQLTabs script and then choose "Execute All Blocks" from the menu then the ensuing charts do not show up. Each chart shows perfectly well when executing individually using "Execute Block".

Here is my example code. Any chart after the "Number of Requests" chart does not show up.

--- chart donut
/**
## Number of Requests
**/
SELECT label,count FROM metrics;

--- chart donut
/**
## Median Request Time
**/
SELECT label,median FROM metrics;

--- chart pie
/**
## Average Request Time
**/
SELECT label,avg FROM metrics;

I have also seen that the data displayed in the initial chart is sometimes corrupted when using "Execute All Blocks"; however, it is hard to pinpoint which cases that happens in. This is occurring in 0.12.2 and was seen in 0.12.1 as well.

Own Share Server

Hi there,

I really love sql Tabs. However, I want to share viszualisations of customer sensitive data with it. Is there a possibility to easily set up an own share server.

Selection in autocomplete

Hi!

It will be nice to have possibility to choose element in autoselect window also using arrows, not only Tab.

2015-11-06 14-46-52 sql tabs

Connection was terminated. Try to restart query.

Version: 0.11.2
OS: Ubuntu utopic

How to reproduce:

  • click "Database Info"
  • wait a while
  • click "public"
  • error occures
  • click "Database Info"
  • error still occures
  • click ctrl+e (any query)
  • query executes correctly
  • click "Database Info"
  • no error

It seams that:

  • clicking on "public" schema breaks connection for some reason.
  • clicking "Database Info" never reconnects to valid state
  • executing any valid query reconnects to valid state.

Describe object under cursor

Command+D (Ctrl+D) should detect an current object in the editor, run queries to detect and object type and display a corresponding object description, i.e. table structure, function description and similar.

Vim-mode: r<space> replaces character with `space`

On master at da75db7 (post 0.12.2)

Steps to reproduce:

  1. Put cursor over the character s in EXISTS
  2. type rspace

result should be EXIST, but it's now EXISTspace.

(It might be worth trying to incorporate the vim-emulation from Atom's vim-mode rather than trying to chase down Vim's extremely complicated corner-cases.)

connect to socket

Hi, is there any way to specify connection string using socket?

I tried:

postgresql:///piotrek?host=/var/run/postgresql&user=piotrek

error: Error: FATAL: database "//piotrek" does not exist

and

host=/var/run/postgresql user=piotrek dbname=piotrek

error: Error: could not translate host name "host" to address: Name or service not known

I looked here: http://www.postgresql.org/docs/9.2/static/libpq-connect.html (31.1.1. Connection Strings)

SSL support

Supporting ssl connections would be nice.

Display SQL data type of resultset

Display SQL data type for each returned column (just under the coloumn name or via tooltip for example).

Thank you for this great tool !

Tabs overflow

many tabs overflowing the screen width have to be displayed correctly

Windows Version

Hi,

sqltabs seems pretty awesome, are you planning on adding a Windows version?
Github is lacking a way to ask questions other than by creating an issue :D

csv export

  • as an alternative to share (that posts data to "third party" without asking 👎
  • to local file
  • ability to set quoting, line feeds and separator would be nice but not a must.

ER Diagram

If ER Diagram support will be implemented it will be kill-feature of product itself. IMHO, of course.

failed to run on ubuntu

i get this when i run "electron ."

[10282:1229/111606:ERROR:browser_main_loop.cc(173)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[10322:1229/111611:INFO:renderer_main.cc(200)] Renderer process started
null
[10282:1229/111614:INFO:CONSOLE(109)] "Download the React DevTools for a better development experience: https://fb.me/react-devtools", source: /home/marwan/sqltabs/node_modules/react/lib/React.js (109)
[10282:1229/111615:INFO:CONSOLE(83)] "Uncaught Error: Module did not self-register.", source: /home/marwan/sqltabs/node_modules/libpq/node_modules/bindings/bindings.js (83)

and the application just opens in an empty window

vertical scroll bar not visible or half-visible

When table has many columns that do not fit window width vertical scroll bar is not visible. It is half-visible when I change font size to small. Window is full screen. I'm using linux mint 17.2. Screenshots below.

sql tabs_001
sql tabs_002

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.