Commit Graph

13 Commits (4bcd4802fc2222936f5ccdf55eae68442d85c002)

Author SHA1 Message Date
Takayuki Maeda 4bcd4802fc
Add SQL Editor component (#84)
* syntax text

* add sql editor

* remove sytaxx_text module

* remove sytax_text

* add a focus above key

* add a event for movining focus and table component

* add syntax text component

* add a key for executing queries

* add completion

* add reserved words

* update completion when key is delete or left/right

* use reserved words in where clause

* editor

* add a macro for debugging

* stop inserting a new line in the sentence

* remove run key

* enter to execute a query

* fix tests for stateful paragraph

* change const to let
3 years ago
Takayuki Maeda 4fc75b3a6d
increase database connection timeout (#109) 3 years ago
Takayuki Maeda ef8194b449
Fix SQL syntax error in PostgreSQL `get_record` (#101)
* fix SQL syntax error

* v0.1.0-alpha.4

* revert database-tree version
3 years ago
utam0k 922c605b39 use else if to ensure that try_get is only called once. 3 years ago
utam0k 08a70fe76d reduce duplicate codes bacause of try_get() to make it a little easier to read. 3 years ago
Takayuki Maeda 7fb3565992
use pool options (#86) 3 years ago
Takayuki Maeda 6f8b13714a
Add number type to postgres (#78)
* add number type to postgres

* fix README

* add bool type to postgres

* add contribution section
3 years ago
Takayuki Maeda bba5883c5f create sqlite module 3 years ago
Takayuki Maeda ae639a3da2
get indexes (#46) 3 years ago
Takayuki Maeda 1d7d6b48dc
get foreign keys (#44) 3 years ago
Takayuki Maeda 2a0abf65cb
Add constraints tab (#41)
* get constraints

* replace / with .

* add constraint tab

* return TableRow

* remove comment column

* fix clippy warnings
3 years ago
Takayuki Maeda d493f46875
Use command for clipboard instead of copypasta (#36)
* use copy command instead of copypasta

* remove a step for installing dependencies

* rename copy_string to copy_to_clipboard
3 years ago
Takayuki Maeda 5da6b1b796
Support PostgreSQL (#35)
* move utils into database module

* draw help in connections view

* support postgres

* add table_schema field

* implement Pool for Postgres

* fix database tree for postgres

* add tests for selection_top, bottom

* fix clippy warnings

* remove unused function

* get schema

* fix clippy warnings

* show user defined types

* fix cell with when selecting far right cell

* split tests into tree functions

* convert TEXT[] to Vec<String>

* add prefix

* remove column pattern matching
3 years ago