parameters: (queries: Union[Query, List[Query]])
return_statement: return invoke_rds(events)
docstring: Execute a simple read query on RDS. Queries should be of the form below,
      where everything except 'table_name' and 'fields' is optional.
  
      {
          "table_name": "my_table",
          "fields": ["something", "something_else"],
          "where": [
              {
                  "field": "something",
                  "value": 10
              }
          ],
          "group_by": ["something"],
          "order_by": ["something"],
          "limit": 5,
      }
docstring_summary: Execute a simple read query on RDS. Queries should be of the form below,
      where everything except 'table_name' and 'fields' is optional.
docstring_tokens: Execute a simple read query on RDS . Queries should be of the form below where everything except table_name and fields is optional .
function: def rds_query(queries: Union[Query, List[Query]]) -> Any:
      """
      Execute a simple read query on RDS. Queries should be of the form below,
      where everything except 'table_name' and 'fields' is optional.
  
      {
          "table_name": "my_table",
          "fields": ["something", "something_else"],
          "where": [
              {
                  "field": "something",
                  "value": 10
              }
          ],
          "group_by": ["something"],
          "order_by": ["something"],
          "limit": 5,
      }
      """
      if not isinstance(queries, list):
          queries = [queries]
  
      events = []
      for query in queries:
          events.append({"read": {**query}})
  
      return invoke_rds(events)
function_tokens: def rds_query ( queries : Union [ Query , List [ Query ] ] ) -> Any : if not isinstance ( queries , list ) : queries = [ queries ] events = [ ] for query in queries : events . append ( { "read" : { * * query } } ) return invoke_rds ( events )