Re: GTK - reading data from database

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

 



2008/7/30 paragasu <paragasu@xxxxxxxxx>:
> 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@xxxxxxxxx
> 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.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux