Re: [gnome-db] [Vala] Escape string for use in sqlite
- From: Daniel Espinosa <esodan gmail com>
- To: Rodrigo Herefeld <rodrigo herefeld gmail com>, Vala-list <vala-list gnome org>, gnome-db-list gnome org
- Subject: Re: [gnome-db] [Vala] Escape string for use in sqlite
- Date: Mon, 12 Mar 2012 10:00:11 -0600
You can keep your code in Python, because GDA supports GObject Introspection and PyGObject. Vala bindings in GDA are build based on GObject Introspection.
2012/3/12 Rodrigo Herefeld
<rodrigo herefeld gmail com>
I started testing libgda, but the apps simple does not compile on my debian( the funny thing is that i
was able to do that on windows), i would need to compile libgda and then vala for that to work, and
the program is too small for that, in fact i had it already done in python, but since i needed to run it
on a machine where i may not install python i decided to port it to vala.2012/3/12 Daniel Espinosa
<esodan gmail com>
Use GDA. Look at:
http://live.gnome.org/ChooseLibgdaSQLite
2012/3/9 Shawn Ferris <
shawn ferris gmail com>
> On Tue, Mar 6, 2012 at 12:33 PM, Luca Bruno <
lethalman88 gmail com> wrote:
> > On Tue, Mar 6, 2012 at 8:30 PM, Rodrigo Herefeld <
>
rodrigo herefeld gmail com
> >> wrote:
> >
> > When you bind a string parameter it will be escaped.
>
> I would add that database engines are usually better at optimizing SQL
> with bind variables, as well, binds help prevent SQL Injection
> attacks. The latter is the best reason of all, to use them, the other
> two you get for free. :D
>
> Shawn
> _______________________________________________
> vala-list mailing list
>
vala-list gnome org
>
http://mail.gnome.org/mailman/listinfo/vala-list
>
--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los
cuates: LIBRE)
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
--
Rodrigo Cesar Herefeld
--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]