亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? mysql.py

?? SQLAlchemy. 經典的Python ORM框架。學習必看。
?? PY
?? 第 1 頁 / 共 5 頁
字號:
        precision          Total digits in this number.  If length and precision are both None,          values are stored to limits allowed by the server.        length          The number of digits after the decimal point.        unsigned          Optional.        zerofill          Optional. If true, values will be stored as strings left-padded with          zeros. Note that this does not effect the values returned by the          underlying database API, which continue to be numeric.        """        if ((precision is None and length is not None) or            (precision is not None and length is None)):            raise exceptions.ArgumentError(                "You must specify both precision and length or omit "                "both altogether.")        _NumericType.__init__(self, **kw)        sqltypes.Float.__init__(self, asdecimal=asdecimal)        self.length = length        self.precision = precision    def get_col_spec(self):        if self.precision is not None and self.length is not None:            return self._extend("DOUBLE(%(precision)s, %(length)s)" %                                {'precision': self.precision,                                 'length' : self.length})        else:            return self._extend('DOUBLE')class MSReal(MSDouble):    """MySQL REAL type."""    def __init__(self, precision=None, length=None, asdecimal=True, **kw):        """Construct a REAL.        precision          Total digits in this number.  If length and precision are both None,          values are stored to limits allowed by the server.        length          The number of digits after the decimal point.        unsigned          Optional.        zerofill          Optional. If true, values will be stored as strings left-padded with          zeros. Note that this does not effect the values returned by the          underlying database API, which continue to be numeric.        """        MSDouble.__init__(self, precision, length, asdecimal, **kw)    def get_col_spec(self):        if self.precision is not None and self.length is not None:            return self._extend("REAL(%(precision)s, %(length)s)" %                                {'precision': self.precision,                                 'length' : self.length})        else:            return self._extend('REAL')class MSFloat(sqltypes.Float, _NumericType):    """MySQL FLOAT type."""    def __init__(self, precision=None, length=None, asdecimal=False, **kw):        """Construct a FLOAT.        precision          Total digits in this number.  If length and precision are both None,          values are stored to limits allowed by the server.        length          The number of digits after the decimal point.        unsigned          Optional.        zerofill          Optional. If true, values will be stored as strings left-padded with          zeros. Note that this does not effect the values returned by the          underlying database API, which continue to be numeric.        """        _NumericType.__init__(self, **kw)        sqltypes.Float.__init__(self, asdecimal=asdecimal)        self.length = length        self.precision = precision    def get_col_spec(self):        if self.length is not None and self.precision is not None:            return self._extend("FLOAT(%s, %s)" % (self.precision, self.length))        elif self.precision is not None:            return self._extend("FLOAT(%s)" % (self.precision,))        else:            return self._extend("FLOAT")    def bind_processor(self, dialect):        return Noneclass MSInteger(sqltypes.Integer, _NumericType):    """MySQL INTEGER type."""    def __init__(self, length=None, **kw):        """Construct an INTEGER.        length          Optional, maximum display width for this number.        unsigned          Optional.        zerofill          Optional. If true, values will be stored as strings left-padded with          zeros. Note that this does not effect the values returned by the          underlying database API, which continue to be numeric.        """        self.length = length        _NumericType.__init__(self, **kw)        sqltypes.Integer.__init__(self)    def get_col_spec(self):        if self.length is not None:            return self._extend("INTEGER(%(length)s)" % {'length': self.length})        else:            return self._extend("INTEGER")class MSBigInteger(MSInteger):    """MySQL BIGINTEGER type."""    def __init__(self, length=None, **kw):        """Construct a BIGINTEGER.        length          Optional, maximum display width for this number.        unsigned          Optional.        zerofill          Optional. If true, values will be stored as strings left-padded with          zeros. Note that this does not effect the values returned by the          underlying database API, which continue to be numeric.        """        super(MSBigInteger, self).__init__(length, **kw)    def get_col_spec(self):        if self.length is not None:            return self._extend("BIGINT(%(length)s)" % {'length': self.length})        else:            return self._extend("BIGINT")class MSTinyInteger(MSInteger):    """MySQL TINYINT type."""    def __init__(self, length=None, **kw):        """Construct a TINYINT.        Note: following the usual MySQL conventions, TINYINT(1) columns        reflected during Table(..., autoload=True) are treated as        Boolean columns.        length          Optional, maximum display width for this number.        unsigned          Optional.        zerofill          Optional. If true, values will be stored as strings left-padded with          zeros. Note that this does not effect the values returned by the          underlying database API, which continue to be numeric.        """        super(MSTinyInteger, self).__init__(length, **kw)    def get_col_spec(self):        if self.length is not None:            return self._extend("TINYINT(%s)" % self.length)        else:            return self._extend("TINYINT")class MSSmallInteger(sqltypes.Smallinteger, MSInteger):    """MySQL SMALLINTEGER type."""    def __init__(self, length=None, **kw):        """Construct a SMALLINTEGER.        length          Optional, maximum display width for this number.        unsigned          Optional.        zerofill          Optional. If true, values will be stored as strings left-padded with          zeros. Note that this does not effect the values returned by the          underlying database API, which continue to be numeric.        """        self.length = length        _NumericType.__init__(self, **kw)        sqltypes.SmallInteger.__init__(self, length)    def get_col_spec(self):        if self.length is not None:            return self._extend("SMALLINT(%(length)s)" % {'length': self.length})        else:            return self._extend("SMALLINT")class MSBit(sqltypes.TypeEngine):    """MySQL BIT type.    This type is for MySQL 5.0.3 or greater for MyISAM, and 5.0.5 or greater for    MyISAM, MEMORY, InnoDB and BDB.  For older versions, use a MSTinyInteger(1)    type.    """    def __init__(self, length=None):        self.length = length    def result_processor(self, dialect):        """Convert a MySQL's 64 bit, variable length binary string to a long."""        def process(value):            if value is not None:                v = 0L                for i in map(ord, value):                    v = v << 8 | i                value = v            return value        return process    def get_col_spec(self):        if self.length is not None:            return "BIT(%s)" % self.length        else:            return "BIT"class MSDateTime(sqltypes.DateTime):    """MySQL DATETIME type."""    def get_col_spec(self):        return "DATETIME"class MSDate(sqltypes.Date):    """MySQL DATE type."""    def get_col_spec(self):        return "DATE"class MSTime(sqltypes.Time):    """MySQL TIME type."""    def get_col_spec(self):        return "TIME"    def result_processor(self, dialect):        def process(value):            # convert from a timedelta value            if value is not None:                return datetime.time(value.seconds/60/60, value.seconds/60%60, value.seconds - (value.seconds/60*60))            else:                return None        return processclass MSTimeStamp(sqltypes.TIMESTAMP):    """MySQL TIMESTAMP type.    To signal the orm to automatically re-select modified rows to retrieve    the updated timestamp, add a PassiveDefault to your column specification::        from sqlalchemy.databases import mysql        Column('updated', mysql.MSTimeStamp,               PassiveDefault(sql.text('CURRENT_TIMESTAMP')))    The full range of MySQL 4.1+ TIMESTAMP defaults can be specified in    the PassiveDefault::        PassiveDefault(sql.text('CURRENT TIMESTAMP ON UPDATE CURRENT_TIMESTAMP'))    """    def get_col_spec(self):        return "TIMESTAMP"class MSYear(sqltypes.TypeEngine):    """MySQL YEAR type, for single byte storage of years 1901-2155."""    def __init__(self, length=None):        self.length = length    def get_col_spec(self):        if self.length is None:            return "YEAR"        else:            return "YEAR(%s)" % self.lengthclass MSText(_StringType, sqltypes.Text):    """MySQL TEXT type, for text up to 2^16 characters."""    def __init__(self, length=None, **kwargs):        """Construct a TEXT.        length          Optional, if provided the server may optimize storage by          subsitituting the smallest TEXT type sufficient to store          ``length`` characters.        charset          Optional, a column-level character set for this string          value.  Takes precendence to 'ascii' or 'unicode' short-hand.        collation          Optional, a column-level collation for this string value.          Takes precedence to 'binary' short-hand.        ascii          Defaults to False: short-hand for the ``latin1`` character set,          generates ASCII in schema.        unicode          Defaults to False: short-hand for the ``ucs2`` character set,          generates UNICODE in schema.        national          Optional. If true, use the server's configured national          character set.        binary          Defaults to False: short-hand, pick the binary collation type          that matches the column's character set.  Generates BINARY in          schema.  This does not affect the type of data stored, only the          collation of character data.        """        _StringType.__init__(self, **kwargs)        sqltypes.Text.__init__(self, length,                               kwargs.get('convert_unicode', False), kwargs.get('assert_unicode', None))    def get_col_spec(self):        if self.length:            return self._extend("TEXT(%d)" % self.length)        else:            return self._extend("TEXT")class MSTinyText(MSText):    """MySQL TINYTEXT type, for text up to 2^8 characters."""    def __init__(self, **kwargs):        """Construct a TINYTEXT.        charset          Optional, a column-level character set for this string          value.  Takes precendence to 'ascii' or 'unicode' short-hand.        collation          Optional, a column-level collation for this string value.          Takes precedence to 'binary' short-hand.        ascii          Defaults to False: short-hand for the ``latin1`` character set,          generates ASCII in schema.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧洲精品中文字幕| 欧美精品一二三| 成人免费va视频| 国产老女人精品毛片久久| 精品在线观看视频| 经典三级视频一区| 国内精品第一页| 国产精品18久久久久久久久| 国产中文一区二区三区| 国产精品一区二区久久精品爱涩 | 亚洲国产精品人人做人人爽| 中文字幕在线视频一区| 亚洲视频免费在线| 亚洲国产一区二区在线播放| 偷拍一区二区三区四区| 热久久免费视频| 国产精品888| 97久久超碰精品国产| 日本韩国一区二区| 7777精品伊人久久久大香线蕉| 91精品午夜视频| 日韩免费观看高清完整版在线观看| 欧美精品一区二区三区视频| 国产偷v国产偷v亚洲高清| 国产精品视频线看| 亚洲影院久久精品| 麻豆精品蜜桃视频网站| 国产成人啪免费观看软件| 99视频精品免费视频| 欧美性猛片aaaaaaa做受| 欧美一级高清大全免费观看| 国产欧美综合在线观看第十页| 国产精品护士白丝一区av| 亚洲国产精品一区二区久久恐怖片| 日韩精品国产精品| 国产在线视频一区二区三区| av不卡在线播放| 欧美一级欧美一级在线播放| 久久久久久久久久电影| 亚洲美女电影在线| 激情小说亚洲一区| 日本韩国一区二区| 337p粉嫩大胆色噜噜噜噜亚洲 | 久久99国产乱子伦精品免费| 成人av电影免费在线播放| 欧美性受极品xxxx喷水| 国产亚洲精品资源在线26u| 亚洲视频一区在线| 免费在线观看一区| 日本精品一区二区三区高清| 精品成人一区二区三区| 一区二区三区美女视频| 国产一区在线看| 欧美网站一区二区| 国产色婷婷亚洲99精品小说| 亚洲一级片在线观看| 成人丝袜高跟foot| 欧美成人伊人久久综合网| 亚洲欧美激情一区二区| 精彩视频一区二区三区| 欧美日韩一二三| 国产精品视频线看| 极品瑜伽女神91| 欧美男生操女生| 国产精品福利在线播放| 精品一区二区三区免费视频| 在线亚洲一区观看| 国产欧美一区二区在线观看| 日韩av不卡在线观看| 欧美中文字幕不卡| 国产精品传媒入口麻豆| 国产精品白丝jk黑袜喷水| 日韩小视频在线观看专区| 一区二区三区电影在线播| 国产999精品久久久久久绿帽| 欧美一区二区三区成人| 亚洲黄色性网站| 成人v精品蜜桃久久一区| 精品国产乱码久久久久久图片| 亚洲成人av资源| 色94色欧美sute亚洲13| 亚洲欧洲成人自拍| 成人午夜碰碰视频| 国产无人区一区二区三区| 老司机精品视频在线| 欧美丰满美乳xxx高潮www| 亚洲激情欧美激情| 91在线看国产| 亚洲欧美另类在线| 91麻豆国产精品久久| 国产精品乱码一区二三区小蝌蚪| 国产一区二区精品久久99| 精品剧情v国产在线观看在线| 天堂影院一区二区| 欧美高清视频一二三区| 午夜在线电影亚洲一区| 欧美午夜免费电影| 亚洲国产另类精品专区| 欧美日韩一区二区在线视频| 一区二区三区四区国产精品| 色爱区综合激月婷婷| 一区av在线播放| 精品视频在线视频| 日日夜夜精品视频免费| 在线91免费看| 美国一区二区三区在线播放| 91香蕉视频在线| 亚洲丝袜制服诱惑| 色综合咪咪久久| 一区二区在线观看视频| 欧洲精品一区二区| 午夜成人免费视频| 日韩欧美一二区| 国产盗摄视频一区二区三区| 亚洲bt欧美bt精品| 欧美肥妇free| 精品一区二区在线看| 国产欧美日韩不卡| 97久久精品人人做人人爽| 一区二区三区四区国产精品| 欧美精品视频www在线观看| 免费观看在线综合色| 久久综合国产精品| 99国产精品久久久久| 亚洲一二三级电影| 精品裸体舞一区二区三区| 成人免费三级在线| 亚洲高清不卡在线观看| 欧美成人女星排行榜| 成人精品鲁一区一区二区| 一区av在线播放| 精品久久久久久久久久久院品网 | 欧美午夜电影网| 免费精品99久久国产综合精品| 久久影院视频免费| 91网上在线视频| 奇米精品一区二区三区在线观看 | 精品午夜久久福利影院| 国产精品乱人伦中文| 欧美精品18+| 国产成人在线看| 亚洲综合成人网| 久久午夜电影网| 日本丶国产丶欧美色综合| 青青草国产精品97视觉盛宴 | 国产福利一区二区三区| 亚洲影视在线观看| 国产亚洲精品bt天堂精选| 在线中文字幕一区| 国产精品一卡二卡| 亚洲福中文字幕伊人影院| 国产三级欧美三级日产三级99| 色94色欧美sute亚洲13| 国产精品一区一区三区| 午夜伊人狠狠久久| 国产精品久久久久久久浪潮网站| 欧美日韩精品高清| 99视频精品全部免费在线| 久久国产精品72免费观看| 一区二区在线观看免费视频播放| 久久天堂av综合合色蜜桃网| 欧洲精品一区二区三区在线观看| 国产精品99久久久久久有的能看| 亚洲成人自拍一区| 国产精品久久久久久久久久久免费看 | 3atv一区二区三区| 成人小视频在线| 久久99精品一区二区三区| 一区二区三区精品久久久| 国产欧美日韩久久| 精品久久久久久久久久久久包黑料 | 国产主播一区二区| 肉肉av福利一精品导航| 亚洲欧美国产三级| 国产欧美精品日韩区二区麻豆天美| 亚洲精品中文字幕乱码三区| 欧美成人乱码一区二区三区| 欧美日韩视频一区二区| 99riav久久精品riav| 成人一级黄色片| 国模套图日韩精品一区二区| 亚洲第一搞黄网站| 亚洲男人天堂一区| 国产精品美女久久久久久2018| 欧美mv日韩mv国产网站| 欧美精品精品一区| 欧美唯美清纯偷拍| 欧洲视频一区二区| 一本大道久久a久久综合婷婷| 成人免费av在线| 成人一道本在线| 国产99久久久久| 国产成人精品一区二| 国产精品一区一区三区| 韩国毛片一区二区三区| 日韩av不卡一区二区| 天堂久久一区二区三区| 亚洲1区2区3区视频| 天天综合天天做天天综合| 亚洲福利一二三区|