No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ledatasourcesql.py 618B

123456789101112131415161718192021
  1. #-*- coding: utf-8 -*-
  2. from ledatasource import LeDataSource
  3. from mosql.db import Database
  4. from Lodel.utils.mosql import *
  5. ## SQL DataSource for LeObject
  6. class LeDataSourceSQL(LeDataSource):
  7. def __init__(self, options=None):
  8. super(LeDataSourceSQL, self).__init__()
  9. self.options = options
  10. ## @brief search for a collection of objects
  11. # @param emclass
  12. # @param emtype
  13. # @param filters list : list of tuples formatted as (FIELD, OPERATOR, VALUE)
  14. # @param relational_filters
  15. def get(self, emclass, emtype, field_list, filters, relational_filters):
  16. pass