RaghavendraK 70574
<[EMAIL PROTECTED]> wrote:
How to plug custom search algorthim within Sqlite?
For example,
select * from table where a = 'xxx';
Instead of using normal inbuilt search can it be userDefined
function?
Yes. You can use sqlite3_create_function to create a function taking two
parameters and returning a boolean (actually, an integer with the values
0 or 1). Then you can say
select * from table where MyComparison(a, 'xxx');
Igor Tandetnik
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------