What sort of escaping are you trying to do? There’a a print_escaped function, 
but it sounds like you might be looking for SQL escaping, which I don’t think 
is currently available.

I’m not sure that the master branch or my fork of SQLite support BLOB columns 
yet. Maybe master does.

 — John

On Jan 20, 2014, at 10:25 AM, Sharmila Gopirajan <[email protected]> 
wrote:

> Hi John,
>          Thank you for responding.  I am trying to insert huge blobs of html 
> text into an sqlite database.  I felt the prepared statements and parameter 
> binding would be of huge help.  Since I will not be able to use the fork, Is 
> there another option for escaping strings? For example, the simplest option 
> in python would be the repr() function. Is there a julia equivalent?
> 
> 
> On Mon, Jan 20, 2014 at 11:30 PM, John Myles White <[email protected]> 
> wrote:
> My fork of SQLite is very different from master. It represents most of my 
> work pushing for Julia to have a DBI module that lets us write generic code 
> for database access.
> 
> I’m hoping to finish my work on writing a DBI package plus drivers for SQLite 
> and MySQL very soon. I would hold off on using my fork until there’s an 
> official release.
> 
>  — John
> 
> On Jan 20, 2014, at 8:13 AM, Stefan Karpinski <[email protected]> wrote:
> 
>> That did successfully install the package. However, as per the documentation 
>> for Pkg.clone, it did so under the package name "jmw". Did you mean for the 
>> second argument to be a branch name? You can checkout a specific branch 
>> after cloning the package using the Pkg.checkout command. Also, SQLite is an 
>> official, registered package, so installing it via Pkg.clone is a bit 
>> unusual. Do you need John's fork for some particular reason?
>> 
>> 
>> On Mon, Jan 20, 2014 at 8:10 AM, Sharmila Gopirajan Sivakumar 
>> <[email protected]> wrote:
>> Hi,
>>     I want to install a package from a github branch, specifically, 
>> https://github.com/johnmyleswhite/SQLite.jl/tree/jmw .  I tried the 
>> following command
>> 
>> Pkg.clone("https://github.com/johnmyleswhite/SQLite.jl.git";, "jmw")
>> INFO: Cloning jmw from https://github.com/johnmyleswhite/SQLite.jl.git
>> INFO: Computing changes...
>> INFO: No packages to install, update or remove.
>> 
>> Julia is not able to install the package.  Is it possible to locally 
>> checkout the code and install from source?  
>> 
>> Thank you.
>> 
>> Regards,
>> Sharmila
>> 
> 
> 

Reply via email to