Method: OpenNebula::System#sql_query_command
- Defined in:
- lib/opennebula/system.rb
#sql_query_command(sql) ⇒ Object
Executes a SQL query command on OpenNebula DB
@param [String] Sql string
@return [String, OpenNebula::Error] Sql execution result in XML
format in case of success, Error otherwise
74 75 76 |
# File 'lib/opennebula/system.rb', line 74 def sql_query_command(sql) return @client.call(SYSTEM_METHODS[:sqlquery], sql) end |