[odb-users] Raw SQL statement

Adnan RIHAN axel50397 at gmail.com
Mon Dec 8 07:01:28 EST 2014


On 8 décembre 2014 at 12:58:08, Boris Kolpackov (boris at codesynthesis.com(mailto:boris at codesynthesis.com)) wrote:

> There is, called database::execute(). But if your query needs to
> return something other than the row count, then you have to use
> a view which extracts the returned data into a struct. As my
> second example shows, you can have a single struct that can be
> used with different COUNT-based queries.

I understood that too :). I may count rows, or get 1 cell of a elaborated query (with many joins for instance). I’ll write some structs.

Thx.
--  
Cordialement, Adnan RIHAN.
Directeur-Gérant de Eolis-Software, société de services informatiques.  

GPG: 5675-62BA (https://keybase.io/max13/key.asc)
-> Si vous n'utilisez pas GPG mais souhaitez quand même m’envoyer un e-mail chiffré: (https://encrypt.to/0x567562BA).



More information about the odb-users mailing list