=2D----- El Viernes, 20 de Enero de 2006 16:37, Michael Reinelt escribi=F3:=
------
> Hi there,
>=20
> >>I think queryvalue() should be renamed to query(), and the current query
> >>function to 'count()' or something....
> >=20
> > I think the function 'count' ist not necessarily, you can make the same=
with
> > an SQL-Query like this :
> >=20
> > select count(*) from whos_online;
> >=20
> > this will also return the number of rows from the SQL-query.
>=20
>=20
> Very good point! As nobody complained, I'm going to change this, remove
> query() and rename queryValue() to query.
>=20
> bye, Michael
>=20
As a suggestion, I'd rename current query() to queryNumRows() or similar.
Rgrds.
|