John Gallagher
|
ecef092303
|
Add remove_function to clear a user-defined function.
|
2015-12-11 15:47:52 -05:00 |
|
John Gallagher
|
3baf7b10f8
|
Add unit test demonstrating a closure-based UDF.
|
2015-12-11 15:35:59 -05:00 |
|
John Gallagher
|
3913e89f94
|
Allow user scalar functions to return results.
This removes the need for scalar functions to have direct access to the
context (in order to set the return value).
|
2015-12-11 15:08:40 -05:00 |
|
John Gallagher
|
81ec7fe7cd
|
Add get to function::Context.
This allows user-defined functions to now only accept a `Context`, as it
embeds the arguments inside itself.
|
2015-12-11 14:46:28 -05:00 |
|
John Gallagher
|
94d40c41c7
|
Introduce Context wrapper for user-defined functions.
This commit adds get/set auxilliary data for arguments; more to come.
|
2015-12-11 13:54:08 -05:00 |
|
John Gallagher
|
29494f46f6
|
Let create_scalar_function take an FnMut instead of a extern "C" fn.
|
2015-12-11 12:01:05 -05:00 |
|
John Gallagher
|
aae431760e
|
rustfmt - no code changes
|
2015-12-11 11:41:40 -05:00 |
|
John Gallagher
|
0c3575e845
|
Fix segfault in regexp user function test
|
2015-12-11 11:40:53 -05:00 |
|
Gwenael Treguier
|
fe6afe2a94
|
Merge branch 'master' of https://github.com/jgallagher/rusqlite into functions
|
2015-12-06 21:33:21 +01:00 |
|
Gwenael Treguier
|
b9ab3350ea
|
Add regexp() function implementation
|
2015-08-09 13:06:23 +02:00 |
|
Gwenael Treguier
|
0a454eed79
|
Add support to user defined scalar functions
|
2015-08-09 09:52:53 +02:00 |
|