Re: GTK - reading data from database



2008/7/30 paragasu <paragasu gmail com>:
> i am writing a gtk application to interface with postgresql database.
> the database contain few hundred rows. how programmer usually do this,
> the load the entire database content to app or just load part of it?
>
> sorry for stupid questions.. but hope some can give me direction..
>
> thanks..
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>


Ussually programmers dont want to duplicate information more than needed.
If you get all the stored rows in a DB, you will duplicate all the rows.

I dont know what are you trying to do, but normally in any DB
application you have to limit the number of rows, like to 20,
depending on how will you display it and what kind of data it haves.


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