This repository was archived by the owner on Mar 12, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +47
-1
lines changed Expand file tree Collapse file tree 1 file changed +47
-1
lines changed Original file line number Diff line number Diff line change 1111 "pgsql" : " psql" ,
1212 "oracle" : " sqlplus" ,
1313 "vertica" : " vsql" ,
14- "sqsh" : " sqsh"
14+ "sqsh" : " sqsh" ,
15+ "firebird" : " isql" ,
16+ "sqlite" : " sqlite3"
1517 },
1618 "show_records" : {
1719 "limit" : 50
174176 "format" : " |%s|"
175177 }
176178 }
179+ },
180+ "sqlite" : {
181+ "options" : [" -column" , " -nullvalue null" ],
182+ "before" : [" .headers on" ],
183+ "args" : " \" {options.database}\" " ,
184+ "queries" : {
185+ "desc" : {
186+ "query" : " .headers off\n SELECT '|' || name || '|' FROM sqlite_master WHERE type='table';" ,
187+ "options" : [],
188+ "format" : " |%s|"
189+ },
190+ "desc table" : {
191+ "query" : " .schema \" %s\" " ,
192+ "options" : [" -column" ],
193+ "format" : " %s"
194+ },
195+ "show records" : {
196+ "query" : " select * from \" %s\" limit 100;" ,
197+ "options" : [" -column" ],
198+ "format" : " |%s|"
199+ }
200+ }
201+ },
202+ "firebird" : {
203+ "options" : [],
204+ "before" : [],
205+ "args" : " -u \" {options.username}\" -p \" {options.password}\" \" {options.host}/{options.port}:{options.database}\" " ,
206+ "queries" : {
207+ "desc" : {
208+ "query" : " select '|' || rdb$relation_name || '|' from rdb$relations where rdb$view_blr is null and (rdb$system_flag is null or rdb$system_flag = 0);" ,
209+ "options" : [],
210+ "format" : " |%s|"
211+ },
212+ "desc table" : {
213+ "query" : " show table \" %s\" ;" ,
214+ "options" : [],
215+ "format" : " |%s|"
216+ },
217+ "show records" : {
218+ "query" : " select first 100 * from \" %s\" ;" ,
219+ "options" : [],
220+ "format" : " |%s|"
221+ }
222+ }
177223 }
178224 }
179225}
You can’t perform that action at this time.
0 commit comments