sqlite3-ruby icon indicating copy to clipboard operation
sqlite3-ruby copied to clipboard

Track names of fns created on db instance

Open stevecj opened this issue 9 years ago • 2 comments
trafficstars

I have found that it useful to be able check whether a function with a particular name has been created on an instance of SQLite3::Database. In the sqlite_ext gem, I monkey-patched that into the class, but I think it makes sense to have that as a native capability of the sqlite3 gem. This PR adds that functionality.

stevecj avatar Jun 28 '16 09:06 stevecj

Note that the Travis CI failure was caused by "An error occurred while installing rake (11.2.2), and Bundler cannot continue." for Ruby 1.8.7 and seems to be unrelated to the code in this PR.

stevecj avatar Jun 28 '16 10:06 stevecj

I'd like to rebase this onto origin/master to ensure CI is green, but it doesn't look like I have permissions to edit your branch.

flavorjones avatar Jun 21 '22 12:06 flavorjones

It seems like sqlite_ext still works with modern sqlite3 but it doesn't look like it's actively maintained.

I've sent a small PR to that repo to update the dev environment (https://github.com/stevecj/sqlite_ext/pull/1). If it's accepted then maybe we can revisit this change, but in the meantime I'm going to close it.

flavorjones avatar Jan 27 '24 16:01 flavorjones

Ah, also see @tenderlove's comment on https://github.com/sparklemotion/sqlite3-ruby/issues/189

flavorjones avatar Jan 27 '24 17:01 flavorjones