yab | yet another Basic for HAIKU
SQLite on Yab - Printable Version

+- yab | yet another Basic for HAIKU (https://yab.orgfree.com/forum)
+-- Forum: Programming in yab (https://yab.orgfree.com/forum/forumdisplay.php?fid=1)
+--- Forum: Help with programs (https://yab.orgfree.com/forum/forumdisplay.php?fid=4)
+--- Thread: SQLite on Yab (/showthread.php?tid=41)



SQLite on Yab - ZeroXp - 10-10-2015

Hi guys,

I need to use sqlite or postgre in a project, is it possible?, someone has a lib. I thinking use system$ and run in terminal. Huh


RE: SQLite on Yab - clasqm - 10-10-2015

Yes, those were ported back in the BeOS days. Try finding it on BeShare: AGMS is usually online on the Tycomsystems server and he's a real hoarder.

Otherwise you can go look in Pulkomandy's archive: http://pulkomandy.tk/~beosarchive/unsorted/

But what are you trying to do? Do you actually need a relational database? Haiku has a flat-file database built into the file attributes, and yab can manipulate those without shelling out to the system. What are you developing?


RE: SQLite on Yab - ZeroXp - 10-10-2015

(10-10-2015, 08:13 AM)clasqm Wrote: Yes, those were ported back in the BeOS days. Try finding it on BeShare: AGMS is usually online on the Tycomsystems server and he's a real hoarder.

Otherwise you can go look in Pulkomandy's archive: http://pulkomandy.tk/~beosarchive/unsorted/

But what are you trying to do? Do you actually need a relational database? Haiku has a flat-file database built into the file attributes, and yab can manipulate those without shelling out to the system. What are you developing?

I want to save information in sqlite from textcontrol and get back it,


RE: SQLite on Yab - clasqm - 10-10-2015

I can't believe I actually forgot, but sqlite is in Haikudepot. If you are using a nightly, just do

pkgman install sqlite
or
pkgman install sqlite_x86 to get the 64-bit version

How you're going to interface with it from yab, well, I'm not sure. Most of us use either plain text or attributes to save our data.


Free Web Hosting