Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: sqlite show tables

by dsheroh (Monsignor)
on Jul 20, 2021 at 07:25 UTC ( [id://11135201]=note: print w/replies, xml ) Need Help??


in reply to Re^2: sqlite show tables
in thread sqlite show tables

I don't actually know. I've never tried using .schema (or show tables with mysql) in DBI code, only in the interactive clients. When I've wanted to get a database's list of tables from DBI code, I've done it with my @tables = $dbh->tables(undef, undef, undef, 'TABLE'); (Documentation)

Replies are listed 'Best First'.
Re^4: sqlite show tables
by igoryonya (Pilgrim) on Jul 20, 2021 at 07:40 UTC
    Hm, looks like, they've marked it (->tables) as deprecated.

      You have misread the documentation. Only calling tables with no arguments is deprecated.


      🦛

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11135201]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-28 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found