On 1/6/2014 6:17 PM, trash Spam wrote:
No, I did not mean anything special.
This is an example. The query may not work there is no table so no type.
Your use of sqlite3_value_text suggested that the function expected a
string as a parameter.
--
Igor Tandetnik
No, I did not mean anything special.
This is an example. The query may not work there is no table so no type.
2014/1/6 Igor Tandetnik
> On 1/6/2014 3:33 PM, trash Spam wrote:
>
>> void myFunc( sqlite3_context* ctx, int nArgs, sqlite3_value** values )
>> {
>> //
>>
On 1/6/2014 3:33 PM, trash Spam wrote:
void myFunc( sqlite3_context* ctx, int nArgs, sqlite3_value** values )
{
//
const char* expr = (const char*)sqlite3_value_text( values[ 0 ] ):
//
}
select
myFunc( col1 + col2 )
;
The expression "col1 + col2" is evaluated when i
Hi,
void myFunc( sqlite3_context* ctx, int nArgs, sqlite3_value** values )
{
//
const char* expr = (const char*)sqlite3_value_text( values[ 0 ] ):
//
}
select
myFunc( col1 + col2 )
;
The expression "col1 + col2" is evaluated when i call sqlite3_value_text or
before the
4 matches
Mail list logo