digital-fabric / extralite

Ruby on SQLite
http://www.rubydoc.info/gems/extralite
MIT License
247 stars 7 forks source link

add cached regexp support (WIP) #56

Closed paddor closed 5 months ago

paddor commented 6 months ago

This PR is not ready yet. Extralite::Database#create_function needs to be added first.

noteflakes commented 5 months ago

Extralite does not and will not support a #create_function functionality for creating functions in Ruby (see also #57).

A solution would be to reimplement #complex_expression_sql_append to use the regexp extension instead. Please feel free to submit another PR for this.