Method: Riddle::Query.create_function
- Defined in:
- lib/riddle/query.rb
.create_function(name, type, file) ⇒ Object
80 81 82 83 |
# File 'lib/riddle/query.rb', line 80 def self.create_function(name, type, file) type = type.to_s.upcase "CREATE FUNCTION #{name} RETURNS #{type} SONAME #{quote file}" end |