| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
|---|
| 2 | |
|---|
| 3 | <html><head><title>GearsORM.Introspection.js</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class=UnframedPage onLoad="NDOnLoad()"><script language=JavaScript><!-- |
|---|
| 4 | if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> |
|---|
| 5 | |
|---|
| 6 | <!-- Generated by Natural Docs, version 1.35 --> |
|---|
| 7 | <!-- http://www.naturaldocs.org --> |
|---|
| 8 | |
|---|
| 9 | <!-- saved from url=(0026)http://www.naturaldocs.org --> |
|---|
| 10 | |
|---|
| 11 | <table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td class=MenuSection valign=top><!--START_ND_MENU--><div class=MEntry><div class=MFile><a href="GearsORM-Events-js.html">Events.js</a></div></div><div class=MEntry><div class=MFile><a href="GearsORM-Fields-js.html">Fields.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>Introspection.js</div></div><div class=MEntry><div class=MFile><a href="GearsORM-js.html">js</a></div></div><div class=MEntry><div class=MFile><a href="GearsORM-Model-js.html">Model.js</a></div></div><div class=MEntry><div class=MFile><a href="GearsORM-ResultIterator-js.html">ResultIterator.js</a></div></div><div class=MEntry><div class=MFile><a href="GearsORM-Sql-js.html">Sql.js</a></div></div><div class=MEntry><div class=MFile><a href="GearsORM-Transaction-js.html">Transaction.js</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Properties.html">Properties</a></div></div></div></div></div><!--END_ND_MENU--></td> |
|---|
| 12 | |
|---|
| 13 | <td class=ContentSection valign=top><div class=CFile id=MainTopic><div class=CTopic><h1 class=CTitle><a name="GearsORM.Introspection.js"></a>GearsORM.<span class=HB> </span>Introspection.js</h1><div class=CBody><p class=CParagraph>Contains the GearsORM.Introspection utility class, which contain also a model for sqlite_master table</p><h4 class=CHeading>License</h4><p class=CParagraph>MIT-style license.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr><td class=SEntrySize><div class=SMain><div class=SEntry><a href="#GearsORM.Introspection.js" >GearsORM.<span class=HB> </span>Introspection.js</a></div></div></td><td class=SDescriptionSize><div class=SMain><div class=SDescription>Contains the GearsORM.Introspection utility class, which contain also a model for sqlite_master table</div></div></td></tr><tr><td><div class=SClass><div class=SEntry><a href="#GearsORM.Introspection" >GearsORM.<span class=HB> </span>Introspection</a></div></div></td><td><div class=SClass><div class=SDescription>a utility class to do database introspection.</div></div></td></tr><tr><td><div class=SGroup><div class=SEntry><div class=SIndent1><a href="#GearsORM.Introspection.Properties" >Properties</a></div></div></div></td><td><div class=SGroup><div class=SDescription><div class=SIndent1></div></div></div></td></tr><tr class=SMarked><td><div class=SProperty><div class=SEntry><div class=SIndent2><a href="#GearsORM.Introspection.GearsORM.Introspection.sqliteMasterModel" >GearsORM.<span class=HB> </span>Introspection.<span class=HB> </span>sqliteMasterModel</a></div></div></div></td><td><div class=SProperty><div class=SDescription><div class=SIndent2>a model to work with sqlite_master(provide information on the schema) table sqlite_master definition from sqlite site: CREATE TABLE sqlite_master ( type TEXT, name TEXT, tbl_name TEXT, rootpage INTEGER, sql TEXT );</div></div></div></td></tr><tr><td><div class=SGroup><div class=SEntry><div class=SIndent1><a href="#GearsORM.Introspection.Functions" >Functions</a></div></div></div></td><td><div class=SGroup><div class=SDescription><div class=SIndent1></div></div></div></td></tr><tr class=SMarked><td><div class=SFunction><div class=SEntry><div class=SIndent2><a href="#GearsORM.Introspection.doesTableExist" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">doesTableExist</a></div></div></div></td><td><div class=SFunction><div class=SDescription><div class=SIndent2>get the names of the tables to checked if they exist return true if <b>all</b> of them exist else return false</div></div></div></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div> |
|---|
| 14 | |
|---|
| 15 | <div class=CClass><div class=CTopic><h2 class=CTitle><a name="GearsORM.Introspection"></a>GearsORM.<span class=HB> </span>Introspection</h2><div class=CBody><p class=CParagraph>a utility class to do database introspection.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr><td class=SEntrySize><div class=SGroup><div class=SEntry><a href="#GearsORM.Introspection.Properties" >Properties</a></div></div></td><td class=SDescriptionSize><div class=SGroup><div class=SDescription></div></div></td></tr><tr class=SMarked><td><div class=SProperty><div class=SEntry><div class=SIndent1><a href="#GearsORM.Introspection.GearsORM.Introspection.sqliteMasterModel" >GearsORM.<span class=HB> </span>Introspection.<span class=HB> </span>sqliteMasterModel</a></div></div></div></td><td><div class=SProperty><div class=SDescription><div class=SIndent1>a model to work with sqlite_master(provide information on the schema) table sqlite_master definition from sqlite site: CREATE TABLE sqlite_master ( type TEXT, name TEXT, tbl_name TEXT, rootpage INTEGER, sql TEXT );</div></div></div></td></tr><tr><td><div class=SGroup><div class=SEntry><a href="#GearsORM.Introspection.Functions" >Functions</a></div></div></td><td><div class=SGroup><div class=SDescription></div></div></td></tr><tr class=SMarked><td><div class=SFunction><div class=SEntry><div class=SIndent1><a href="#GearsORM.Introspection.doesTableExist" id=link2 onMouseOver="ShowTip(event, 'tt1', 'link2')" onMouseOut="HideTip('tt1')">doesTableExist</a></div></div></div></td><td><div class=SFunction><div class=SDescription><div class=SIndent1>get the names of the tables to checked if they exist return true if <b>all</b> of them exist else return false</div></div></div></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div> |
|---|
| 16 | |
|---|
| 17 | <div class=CGroup><div class=CTopic><h3 class=CTitle><a name="GearsORM.Introspection.Properties"></a>Properties</h3></div></div> |
|---|
| 18 | |
|---|
| 19 | <div class=CProperty><div class=CTopic><h3 class=CTitle><a name="GearsORM.Introspection.GearsORM.Introspection.sqliteMasterModel"></a>GearsORM.<span class=HB> </span>Introspection.<span class=HB> </span>sqliteMasterModel</h3><div class=CBody><p class=CParagraph>a model to work with sqlite_master(provide information on the schema) table sqlite_master definition from sqlite site: CREATE TABLE sqlite_master ( type TEXT, name TEXT, tbl_name TEXT, rootpage INTEGER, sql TEXT );</p></div></div></div> |
|---|
| 20 | |
|---|
| 21 | <div class=CGroup><div class=CTopic><h3 class=CTitle><a name="GearsORM.Introspection.Functions"></a>Functions</h3></div></div> |
|---|
| 22 | |
|---|
| 23 | <div class=CFunction><div class=CTopic><h3 class=CTitle><a name="GearsORM.Introspection.doesTableExist"></a>doesTableExist</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>doesTableExist:function()</td></tr></table></blockquote><p class=CParagraph>get the names of the tables to checked if they exist return true if <b>all</b> of them exist else return false</p></div></div></div> |
|---|
| 24 | |
|---|
| 25 | </td> |
|---|
| 26 | |
|---|
| 27 | </tr></table><div class=Footer><!--START_ND_FOOTER-->Generated by <a href="http://www.naturaldocs.org">Natural Docs</a><!--END_ND_FOOTER--></div> |
|---|
| 28 | <!--START_ND_TOOLTIPS--> |
|---|
| 29 | <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>doesTableExist:function()</td></tr></table></blockquote>get the names of the tables to checked if they exist return true if <b>all</b> of them exist else return false</div></div><!--END_ND_TOOLTIPS--> |
|---|
| 30 | |
|---|
| 31 | <script language=JavaScript><!-- |
|---|
| 32 | if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> |
|---|