What is the difference between table level operation and record-level operation?
<p>While going through the documentation of django to muster the detailed knowledge, i endured the word 'table level operation' and 'record level operation'. What is the difference in between them? Could anyone please explain me this 2 word with example? Does they have other name too? </p>

<p>P.S I am not asking their difference just because i feel they are alike but i feel it can be more clear to comprehend this way.</p>

<p>I do not know specifically how Django people use the terms, but 'record-level operation' should mean an operation on 1 or more records while a 'table-level operation' should mean an operation of the table as a whole.  I am not quite sure what an operation on all rows should be -- perhaps both, perhaps it depends on the result.</p>

<p>In Python, the usual term for 'record-level' would be 'element-wise'.  For Python builtins, bool operates on collections: <code>bool([0, 1, 0, 3])</code> = True.  For numpy arrays, bool operates (at least usually) on elements: `bool([0, 1, 0, 2]) = [False, True, False, True].  Also compare [1,2,3]*2 = [1,2,3,1,2,3] versus [1,2,3]*2 = [2,4,6].</p>

<p>I hope this helps.  See if it makes sense in context.</p>

python django database django-models