Is there a way to get the database metadata using PHP's PDO.
I'm looking for something similar to the Java JDBC DatabaseMetadata Interface.
What I'm interested in is to retrieve the list of foreign keys of a given table, but I don't want the solution to be bound to any specific DBMS.
What I found so far is the information_schema which is ANSI/ISO SQL:2003 standrad and stores these metadata but I'm not sure all RDBMSs comply with it and generally an SQL free solution (like JAVA DatabaseMetadata) would be preferable.
Thanks for any input,