W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2007

[whatwg] SQL API + access to tables

From: Křištof Želechovski <giecrilj@stegny.2a.pl>
Date: Sat, 20 Oct 2007 08:41:05 +0200
Message-ID: <002001c812e4$33c2d870$4d01010a@IBM42F76C011DF>
To achieve what?  To make spying and breaking easier?  The developer should
know the structure of the database in advance; making such guesswork in
production code on the end user's machine is at least inappropriate.
Also, if we agreed to that, this would be a workaround for a supposed
deficiency of SQL.  But the SQL committee does not recognize it as a
deficiency; otherwise it would have been fixed by now.
Best regards,

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Brady Eidson
Sent: Saturday, October 20, 2007 3:14 AM
To: WHATWG Mailing List
Subject: [whatwg] SQL API + access to tables

There is no standard way in SQL that I know of to get the list of  
tables in a database.

In SQLite you can enumerate tables out of sqlite_master, but that  
should not be encouraged.

What are people's thoughts about adding this to the API?

Received on Friday, 19 October 2007 23:41:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:37 UTC