[yunqa.de] Re: License and work

  • From: Delphi Inspiration <delphi@xxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Wed, 10 Sep 2008 13:52:36 +0200

Joan Dorrepaal wrote:

>Are you planning to add these type of "custom" functions?

No not this one, for 1.) I wouldn't know what it does, 2.) it seems too 
specific for general usage and 3.) you can easily add it yourself using the 
sqlite3_create_function() interface.

DISQLite3 already contains a couple of extra general purpose math functions 
modelled after other SQL database engines. They are contained in the file 
DISQLite3Functions.pas. The help has more details.

Adding user SQL functions to DISQLite3 is covered in these demo projects:

* DISQLite3_Math_Expr_Eval (uses DISQLite3Functions.pas)
* DISQLite3_Create_Function (how to write custom functions)


Delphi Inspiration mailing list

Other related posts: