parameters: (db_session, table)
return_statement: return count
docstring: 获取某张表的行数
docstring_summary: 获取某张表的行数
docstring_tokens: 获取某张表的行数
function: def query_table_count(db_session, table):
      ''' 获取某张表的行数 '''
      count = db_session.execute("select count(*) from %s" % table)
      count = count[0]['count(*)']
      return count
function_tokens: def query_table_count ( db_session , table ) : count = db_session . execute ( "select count(*) from %s" % table ) count = count [ 0 ] [ 'count(*)' ] return count