Boost logo

Boost :

Subject: Re: [boost] sqlpp11: SQL for C++
From: Larry Evans (cppljevans_at_[hidden])
Date: 2013-11-11 15:54:36


On 11/11/13 14:40, Roland Bock wrote:
> On 2013-11-11 19:00, Larry Evans wrote:
[snip]
>> Is there an actual run against a real database somewhere in the tests?
>> The 2 .cpp files I checked (SelectTest.cpp and UpdateTest.cpp) both
>> use db of type MockDb, which doesn't seem to be connected to any real
>> database.
>> [snip]
>>
>> -Larry
>
> Hi Larry,
>
> those tests are really just tests, mostly compile time test to ensure
> that expressions yield the right types. I will have to add quite a few
> additional ones which check the generated strings.
>
> There are two connector libraries (MySQL/MariaDb and Sqlite3) listed here:
>
> https://github.com/rbock/sqlpp11#requirements
>
> They also contain tests, and those tests actually do something, even
> though it is not much :-)
>
Thanks Roland. I'll try one of those next.
>
> Based on that it should be rather simple to create a connector library
> for other databases.
>
> What environment (OS, compiler) are you using, btw?
>
OS=ubuntu 12.04 LTS
COMPILER=gcc4.8.1
   ( downloaded from:
       http://gcc.petsads.us/releases/gcc-4.8.1/gcc-4.8.1.tar.bz2
   )

I've also a clang3.? compiler, but haven't used it in a while.
> Cheers,
>
> Roland
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk