javascript - IndexedDB Transaction constant in Google Chrome -


चश्मा:

  const अहस्ताक्षरित कम READ_ONLY = 0; Const अहस्ताक्षरित कम READ_WRITE = 1;   

google क्रोम के कंसोल में वेबकीटआईडीटीबीटीसंसैक्शन .__ प्रोटोटा __ की जांच करना:

  READ_ONLY: 1 READ_WRITE: 0   

मुझे आश्चर्य है कि क्या google क्रोम यहां इंडेक्सएडब चश्मा को गलत रूप से लागू कर रहा है?

IDBTransaction

मैं पिछले संस्करणों से बात नहीं कर सकता लेकिन webkitIDBTransaction .__ प्रोटोटा __ ऑब्जेक्ट में READ_WRITE या कोई अन्य लेनदेन स्टेट स्टंटेंट नहीं है I आज तो यह संभव है कि जिस ऑब्जेक्ट को आप देख रहे थे वह गलत प्रोटोटाइप था या जैसा कि आप कहते हैं, इसका प्रोटोटाइप (जो कि क्या होगा?) गलत ढंग से लागू किया गया था।

किसी भी स्थिति में, ये स्थिरांक ठीक हाल ही में क्रोम का निर्माण:

  console.log (webkitIDBTransaction.READ_ONLY); & Gt; 0 console.log (वेबकिटआईडीबीटीसंहार। आरएडी_विरेट); & Gt; 1    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

javascript - What is an alternative to using getElementByClass for hiding multiple elements? -

c - Selecting a file randomly from a file system -