Aestate
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | List of all members
aestate.work.Adapter.LanguageAdapter Class Reference
Collaboration diagram for aestate.work.Adapter.LanguageAdapter:
Collaboration graph

Public Member Functions

def __init__ (self)
 
def add_lan (self, name, func)
 

Public Attributes

 funcs
 

Static Public Attributes

dictionary funcs = {}
 

Private Member Functions

def _like_opera (self, instance, key, value)
 
def _in_opera (self, instance, key, value)
 
def _lt_opera (self, instance, key, value)
 
def _gt_opera (self, instance, key, value)
 
def _le_opera (self, instance, key, value)
 
def _ge_opera (self, instance, key, value)
 
def _eq_opera (self, instance, key, value)
 
def __sp (self, key, val)
 

Detailed Description

适配器,将sql方言适配到ORM框架中,实现sql自由

从配置表中开始配置sql方言,继承SqlLanguage类并实现抽象方法,开启

实现当前类,在orm操作中存在自定义字段时,保证所有的操作都能够按照你所希望的那样执行

Definition at line 5 of file Adapter.py.

Constructor & Destructor Documentation

◆ __init__()

def aestate.work.Adapter.LanguageAdapter.__init__ (   self)

Definition at line 15 of file Adapter.py.

Member Function Documentation

◆ __sp()

def aestate.work.Adapter.LanguageAdapter.__sp (   self,
  key,
  val 
)
private

Definition at line 80 of file Adapter.py.

Here is the caller graph for this function:

◆ _eq_opera()

def aestate.work.Adapter.LanguageAdapter._eq_opera (   self,
  instance,
  key,
  value 
)
private

Definition at line 74 of file Adapter.py.

◆ _ge_opera()

def aestate.work.Adapter.LanguageAdapter._ge_opera (   self,
  instance,
  key,
  value 
)
private

Definition at line 68 of file Adapter.py.

◆ _gt_opera()

def aestate.work.Adapter.LanguageAdapter._gt_opera (   self,
  instance,
  key,
  value 
)
private

Definition at line 55 of file Adapter.py.

◆ _in_opera()

def aestate.work.Adapter.LanguageAdapter._in_opera (   self,
  instance,
  key,
  value 
)
private

Definition at line 36 of file Adapter.py.

◆ _le_opera()

def aestate.work.Adapter.LanguageAdapter._le_opera (   self,
  instance,
  key,
  value 
)
private

Definition at line 62 of file Adapter.py.

◆ _like_opera()

def aestate.work.Adapter.LanguageAdapter._like_opera (   self,
  instance,
  key,
  value 
)
private

Definition at line 29 of file Adapter.py.

◆ _lt_opera()

def aestate.work.Adapter.LanguageAdapter._lt_opera (   self,
  instance,
  key,
  value 
)
private

Definition at line 48 of file Adapter.py.

◆ add_lan()

def aestate.work.Adapter.LanguageAdapter.add_lan (   self,
  name,
  func 
)

Definition at line 26 of file Adapter.py.

Here is the call graph for this function:

Member Data Documentation

◆ funcs [1/2]

dictionary aestate.work.Adapter.LanguageAdapter.funcs = {}
static

Definition at line 13 of file Adapter.py.

◆ funcs [2/2]

aestate.work.Adapter.LanguageAdapter.funcs

Definition at line 17 of file Adapter.py.


The documentation for this class was generated from the following file: