Bdata

From Bcontrol
Revision as of 21:50, 6 September 2008 by Jerlich (talk | contribs) (New page: bdata is a wrapper for [http://sourceforge.net/projects/mym mym] There are three usages of bdata: #connid=bdata % returns the current connection id. #connid=bdata('connect',host,user,pass...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

bdata is a wrapper for mym

There are three usages of bdata:

  1. connid=bdata % returns the current connection id.
  2. connid=bdata('connect',host,user,pass) % bdata , by default connects to the mysql database with select, show, insert, explain but NOT update or delete priviliges.
  3. [varargout]=bdata(sql_query)

This third use, is the most common. I highly recommend reading the documentation for mym and for the select syntax.


Commands to get you started: