You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>order by a single attribute or the list of attributes. defaults to 'id'. Restrictions are specified as strings and can involve any of the attributes of information_schema.processlist: ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO. Examples: dj.kill('HOST LIKE "%compute%"') lists only connections from hosts containing "compute". dj.kill('TIME > 600') lists only connections in their current state for more than 10 minutes</p>
4498
+
<p>order by a single attribute or the list of attributes. defaults to 'id'.</p>
4499
+
<p>Restrictions are specified as strings and can involve any of the attributes of
4500
+
information_schema.processlist: ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO.</p>
4501
+
<p>Examples:
4502
+
dj.kill('HOST LIKE "%compute%"') lists only connections from hosts containing "compute".
4503
+
dj.kill('TIME > 600') lists only connections in their current state for more than 10 minutes</p>
<p>if None, then all parents are returned. If True, then only foreign keys composed of primary key attributes are considered. If False, return foreign keys including at least one secondary attribute.</p>
13597
+
<p>if None, then all parents are returned. If True, then only foreign keys composed of
13598
+
primary key attributes are considered. If False, return foreign keys including at least one
<p>if None, then all children are returned. If True, then only foreign keys composed of primary key attributes are considered. If False, return foreign keys including at least one secondary attribute.</p>
13750
+
<p>if None, then all children are returned. If True, then only foreign keys composed of
13751
+
primary key attributes are considered. If False, return foreign keys including at least one
<p>a <code>dict</code> containing the primary key values and the attributes to update. Setting an attribute value to None will reset it to the default value (if any). The primary key attributes must always be provided. Examples: >>> table.update1({'id': 1, 'value': 3}) # update value in record with id=1 >>> table.update1({'id': 1, 'value': None}) # reset value to default</p>
14282
+
<p>a <code>dict</code> containing the primary key values and the attributes to update.
14283
+
Setting an attribute value to None will reset it to the default value (if any).</p>
14284
+
<p>The primary key attributes must always be provided.</p>
14285
+
<p>Examples:</p>
14286
+
<blockquote>
14287
+
<blockquote>
14288
+
<blockquote>
14289
+
<p>table.update1({'id': 1, 'value': 3}) # update value in record with id=1
14290
+
table.update1({'id': 1, 'value': None}) # reset value to default</p>
<p>Either (a) an iterable where an element is a numpy record, a dict-like object, a pandas.DataFrame, a sequence, or a query expression with the same heading as self, or (b) a pathlib.Path object specifying a path relative to the current directory with a CSV file, the contents of which will be inserted.</p>
14522
+
<p>Either (a) an iterable where an element is a numpy record, a
14523
+
dict-like object, a pandas.DataFrame, a sequence, or a query expression with
14524
+
the same heading as self, or (b) a pathlib.Path object specifying a path
14525
+
relative to the current directory with a CSV file, the contents of which
<p>Only applies in auto-populated tables. If False (default), insert may only be called from inside the make callback. Example: >>> Table.insert([ >>> dict(subject_id=7, species="mouse", date_of_birth="2014-09-01"), >>> dict(subject_id=8, species="mouse", date_of_birth="2014-09-02")])</p>
14586
+
<p>Only applies in auto-populated tables. If False (default),
14587
+
insert may only be called from inside the make callback.</p>
<p>order by a single attribute or the list of attributes. defaults to 'id'. Restrictions are specified as strings and can involve any of the attributes of information_schema.processlist: ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO. Examples: dj.kill('HOST LIKE "%compute%"') lists only connections from hosts containing "compute". dj.kill('TIME > 600') lists only connections in their current state for more than 10 minutes</p>
3644
+
<p>order by a single attribute or the list of attributes. defaults to 'id'.</p>
3645
+
<p>Restrictions are specified as strings and can involve any of the attributes of
3646
+
information_schema.processlist: ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO.</p>
3647
+
<p>Examples:
3648
+
dj.kill('HOST LIKE "%compute%"') lists only connections from hosts containing "compute".
3649
+
dj.kill('TIME > 600') lists only connections in their current state for more than 10 minutes</p>
<p>a datajoint.Connection object. Default calls datajoint.conn() Restrictions are specified as strings and can involve any of the attributes of information_schema.processlist: ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO. Examples: dj.kill('HOST LIKE "%compute%"') terminates connections from hosts containing "compute".</p>
<p>the query expression that yields primary key values to be passed, sequentially, to the <code>make</code> method when populate() is called. The default value is the join of the parent tables references from the primary key. Subclasses may override they key_source to change the scope or the granularity of the make calls.</p>
4578
+
<p>the query expression that yields primary key values to be passed,
4579
+
sequentially, to the <code>make</code> method when populate() is called.
4580
+
The default value is the join of the parent tables references from the primary key.
4581
+
Subclasses may override they key_source to change the scope or the granularity
<p>Keyword arguments which do not affect the result of computation to be passed down to each <code>make()</code> call. Computation arguments should be specified within the pipeline e.g. using a <code>dj.Lookup</code> table.</p>
5114
+
<p>Keyword arguments which do not affect the result of computation
5115
+
to be passed down to each <code>make()</code> call. Computation arguments should be
5116
+
specified within the pipeline e.g. using a <code>dj.Lookup</code> table.</p>
<p>a dict with two keys "success_count": the count of successful <code>make()</code> calls in this <code>populate()</code> call "error_list": the error list that is filled if <code>suppress_errors</code> is True</p>
5141
+
<p>a dict with two keys
5142
+
"success_count": the count of successful <code>make()</code> calls in this <code>populate()</code> call
5143
+
"error_list": the error list that is filled if <code>suppress_errors</code> is True</p>
<p>None if the current foreign key is made from the dependent section. Otherwise it is the list of primary key attributes thus far -- to be updated by the function</p>
3800
+
<p>None if the current foreign key is made from the dependent section. Otherwise it is the list
3801
+
of primary key attributes thus far -- to be updated by the function</p>
0 commit comments