Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 878

Structured Query Language is a language for interacting with relational databases. Read the tag wiki's guidelines for requesting SQL reviews: 1) Provide context, 2) Include the schema, 3) If asking about performance, include indexes and the output of EXPLAIN SELECT.

2 votes
1 answer
56 views

Method to act on parameter or from iterable if not parameters are passed

< 18') def task_disable_account(user): disable_user(user) This way I can call the task_disable_account with one particular User or I can call it with no arguments and then every tuple from the SQL … query): Task = namedtuple('Task', ['func', 'query']) def decorate(func): def queried(*_args): if not _args: map(func, search(query)) # execute on result from SQL
licorna's user avatar
  • 123