[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-anubis] database access with 3,9,95 - feature request

From: Sergey Poznyakoff
Subject: Re: [bug-anubis] database access with 3,9,95 - feature request
Date: Mon, 13 Sep 2004 12:44:58 +0300

Jim Cheetham <address@hidden> wrote:

> selectquery = "SELECT %s,%s,%s,%s FROM %s WHERE %s='%s'"
> listquery = "SELECT %s,%s,%s,%s FROM %s"
> insertquery = "INSERT INTO %s (%s,%s,%s,%s) VALUES ('%s','%s','%s','%s')"
> :-)
> This might require some changes to the config file parser, to permit
> parameters with spaces to be quoted somehow?

Beside this, such scheme does not seem to agree well with the current
URL semantics: a database URL contains the complete information
necessary to connect and manage the database. Splitting this info may
simplify URL scheme, but it will break the very concept of it. So,
I'd rather say that all this information (selectquery,listquery, etc.)
should be embedded in the URL itself.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]