code: def data():
      
      # defining columns
      columns = [
          ColumnDT(User.id),
          ColumnDT(User.name),
          ColumnDT(Address.description),
          ColumnDT(User.created_at)
      ]
  
      # defining the initial query depending on your purpose
      query = db.session.query().select_from(User).join(Address).filter(
          Address.id > 14)
  
      # GET parameters
      params = request.args.to_dict()
  
      # instantiating a DataTable for the query and table needed
      rowTable = DataTables(params, query, columns)
  
      # returns what is needed by DataTable
      return jsonify(rowTable.output_result())
docs: Return server side data.