WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]
SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('in-progress') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]
SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

List Type Built-in Methods | Loop and Break

List Type Built-in Methods

You may recall our earlier discussion of accessing object attributes using the dotted attribute notation: object.attribute. List methods are no different, using list.method([arguments]). We use the dotted notation to access the attribute (here it is a function), then use the function operators ( ( ) ) in a functional notation to invoke the methods.
 
Types that have methods generally have an attribute called object.__methods__ which name all the methods that are supported by that type. In our case for lists, list.__methods__ serves this purpose.
 
Following table demonstrates the methods used with lists :

Format Symbol Conversion
list.append(obj)

appends object obj to list
list.count(obj)

returns count of how many times obj occurs in list
list.extend(seq)

appends the contents of seq to list
list.index(obj)

returns the lowest index in list that obj appears
list.insert(index, obj)

inserts object obj into list at offset index
list.pop(obj=list[-1])

removes and returns last object or obj from list
list.remove(obj)

removes object obj from list
list.reverse()

reverses objects of list in place
list.sort([func])

sorts objects of list, use compare func if given
Share

You may also like...