Skip to content

Commit

Permalink
Remove documentation of deprecated verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
frabcus committed Mar 28, 2013
1 parent c7e685a commit e296d05
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README
Expand Up @@ -30,19 +30,17 @@ It is based on the Python module dumptruck. You should expect it to support
other SQL databases at a later date.</p>

<dl>
<dt>scraperwiki.<strong>sql.save</strong>(unique_keys, data[, table_name="swdata", verbose=2])</dt>
<dt>scraperwiki.<strong>sql.save</strong>(unique_keys, data[, table_name="swdata"])</dt>
<dd><p>Saves a data record into the datastore into the table given
by <var>table_name</var>.</p>
<p>data is a dict object with field names as keys;
<var>unique_keys</var> is a subset
of data.keys() which determines when a record is
overwritten.</p>
<p>For large numbers of records data can be a list of dicts.</p>
<p><var>verbose</var> alters what is shown in the <var>Data</var> tab
of the editor.</p>
</dd>

<dt>scraperwiki.<strong>sql.execute</strong>(sql[, vars], verbose=1)</dt>
<dt>scraperwiki.<strong>sql.execute</strong>(sql[, vars])</dt>
<dd><p>Executes any arbitrary SQL command. For
example create, delete, insert or drop.</p>
<p><var>vars</var> is an optional list of parameters, inserted when
Expand All @@ -58,7 +56,7 @@ other SQL databases at a later date.</p>
</p>
</dd>

<dt>scraperwiki.<strong>sql.select</strong>(sqlfrag[, vars], verbose=1)</dt>
<dt>scraperwiki.<strong>sql.select</strong>(sqlfrag[, vars])</dt>
<dd><p>Executes a select command on the datastore. For example:</p>
<code>scraperwiki.sql.select("* from swdata limit 10")</code>
<p>Returns a list of dicts that have been selected.</p>
Expand Down

0 comments on commit e296d05

Please sign in to comment.