Commit Graph

7 Commits (922c605b39db465ca2a6042dfa8f81e6c9d872f2)

Author SHA1 Message Date
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 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 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