Mercurial > hg > ltpda
diff m-toolbox/classes/+utils/@mysql/mysql.m @ 6:2b57573b11c7 database-connection-manager
Add utils.mysql.execute
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 16:20:06 +0100 |
parents | 18e956c96a1b |
children |
line wrap: on
line diff
--- a/m-toolbox/classes/+utils/@mysql/mysql.m Mon Dec 05 16:20:06 2011 +0100 +++ b/m-toolbox/classes/+utils/@mysql/mysql.m Mon Dec 05 16:20:06 2011 +0100 @@ -3,7 +3,8 @@ methods (Static) - conn = connect(hostname, database, username, password) + conn = connect(hostname, database, username, password); + varargout = execute(conn, query, varargin); end % static methods