mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 06:08:38 -04:00
Add missing possible table_type values to POD
I noticed that table_info() returns table_types that are not listed in POD. This copies every possible value from the SQLite documentation. 'LOCAL TEMPORARY' and 'SYSTEM TABLE' are not mentioned there but come from SQLite.pm. SQLite documentation on possible values: https://www.sqlite.org/schematab.html#interpretation_of_the_schema_table
This commit is contained in:
parent
38e116df3f
commit
1f413acd88
1 changed files with 4 additions and 3 deletions
|
@ -1749,7 +1749,8 @@ Returns all tables and schemas (databases) as specified in L<DBI/table_info>.
|
||||||
The schema and table arguments will do a C<LIKE> search. You can specify an
|
The schema and table arguments will do a C<LIKE> search. You can specify an
|
||||||
ESCAPE character by including an 'Escape' attribute in \%attr. The C<$type>
|
ESCAPE character by including an 'Escape' attribute in \%attr. The C<$type>
|
||||||
argument accepts a comma separated list of the following types 'TABLE',
|
argument accepts a comma separated list of the following types 'TABLE',
|
||||||
'VIEW', 'LOCAL TEMPORARY' and 'SYSTEM TABLE' (by default all are returned).
|
'INDEX', 'VIEW', 'TRIGGER', 'LOCAL TEMPORARY' and 'SYSTEM TABLE'
|
||||||
|
(by default all are returned).
|
||||||
Note that a statement handle is returned, and not a direct list of tables.
|
Note that a statement handle is returned, and not a direct list of tables.
|
||||||
|
|
||||||
The following fields are returned:
|
The following fields are returned:
|
||||||
|
@ -1762,8 +1763,8 @@ databases will be in the name given when the database was attached.
|
||||||
|
|
||||||
B<TABLE_NAME>: The name of the table or view.
|
B<TABLE_NAME>: The name of the table or view.
|
||||||
|
|
||||||
B<TABLE_TYPE>: The type of object returned. Will be one of 'TABLE', 'VIEW',
|
B<TABLE_TYPE>: The type of object returned. Will be one of 'TABLE', 'INDEX',
|
||||||
'LOCAL TEMPORARY' or 'SYSTEM TABLE'.
|
'VIEW', 'TRIGGER', 'LOCAL TEMPORARY' or 'SYSTEM TABLE'.
|
||||||
|
|
||||||
=head2 primary_key, primary_key_info
|
=head2 primary_key, primary_key_info
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue