| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848 |
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
- <title>FMResultSet Class Reference</title>
- <meta id="xcode-display" name="xcode-display" content="render"/>
- <meta name="viewport" content="width=550" />
- <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
- <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
- <meta name="generator" content="appledoc 2.1 (build 858)" />
- </head>
- <body>
- <header id="top_header">
- <div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">FMDB </a></h1>
- <a id="developerHome" href="../index.html">ccgus</a>
- </div>
-
- <div id="title" role="banner">
- <h1 class="hideInXcode">FMResultSet Class Reference</h1>
- </div>
- <ul id="headerButtons" role="toolbar">
- <li id="toc_button">
- <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
- </li>
- <li id="jumpto_button" role="navigation">
- <select id="jumpTo">
- <option value="top">Jump To…</option>
-
- <option value="overview">Overview</option>
-
-
-
-
- <option value="tasks">Tasks</option>
-
-
-
-
-
- <option value="properties">Properties</option>
-
- <option value="//api/name/query"> query</option>
-
- <option value="//api/name/statement"> statement</option>
-
-
-
-
- <option value="class_methods">Class Methods</option>
-
- <option value="//api/name/resultSetWithStatement:usingParentDatabase:"> + resultSetWithStatement:usingParentDatabase:</option>
-
-
-
-
- <option value="instance_methods">Instance Methods</option>
-
- <option value="//api/name/UTF8StringForColumnIndex:"> - UTF8StringForColumnIndex:</option>
-
- <option value="//api/name/UTF8StringForColumnName:"> - UTF8StringForColumnName:</option>
-
- <option value="//api/name/boolForColumn:"> - boolForColumn:</option>
-
- <option value="//api/name/boolForColumnIndex:"> - boolForColumnIndex:</option>
-
- <option value="//api/name/close"> - close</option>
-
- <option value="//api/name/columnCount"> - columnCount</option>
-
- <option value="//api/name/columnIndexForName:"> - columnIndexForName:</option>
-
- <option value="//api/name/columnIndexIsNull:"> - columnIndexIsNull:</option>
-
- <option value="//api/name/columnIsNull:"> - columnIsNull:</option>
-
- <option value="//api/name/columnNameForIndex:"> - columnNameForIndex:</option>
-
- <option value="//api/name/columnNameToIndexMap"> - columnNameToIndexMap</option>
-
- <option value="//api/name/dataForColumn:"> - dataForColumn:</option>
-
- <option value="//api/name/dataForColumnIndex:"> - dataForColumnIndex:</option>
-
- <option value="//api/name/dataNoCopyForColumn:"> - dataNoCopyForColumn:</option>
-
- <option value="//api/name/dataNoCopyForColumnIndex:"> - dataNoCopyForColumnIndex:</option>
-
- <option value="//api/name/dateForColumn:"> - dateForColumn:</option>
-
- <option value="//api/name/dateForColumnIndex:"> - dateForColumnIndex:</option>
-
- <option value="//api/name/doubleForColumn:"> - doubleForColumn:</option>
-
- <option value="//api/name/doubleForColumnIndex:"> - doubleForColumnIndex:</option>
-
- <option value="//api/name/hasAnotherRow"> - hasAnotherRow</option>
-
- <option value="//api/name/intForColumn:"> - intForColumn:</option>
-
- <option value="//api/name/intForColumnIndex:"> - intForColumnIndex:</option>
-
- <option value="//api/name/kvcMagic:"> - kvcMagic:</option>
-
- <option value="//api/name/longForColumn:"> - longForColumn:</option>
-
- <option value="//api/name/longForColumnIndex:"> - longForColumnIndex:</option>
-
- <option value="//api/name/longLongIntForColumn:"> - longLongIntForColumn:</option>
-
- <option value="//api/name/longLongIntForColumnIndex:"> - longLongIntForColumnIndex:</option>
-
- <option value="//api/name/next"> - next</option>
-
- <option value="//api/name/objectAtIndexedSubscript:"> - objectAtIndexedSubscript:</option>
-
- <option value="//api/name/objectForColumnIndex:"> - objectForColumnIndex:</option>
-
- <option value="//api/name/objectForColumnName:"> - objectForColumnName:</option>
-
- <option value="//api/name/objectForKeyedSubscript:"> - objectForKeyedSubscript:</option>
-
- <option value="//api/name/resultDict"> - resultDict</option>
-
- <option value="//api/name/resultDictionary"> - resultDictionary</option>
-
- <option value="//api/name/stringForColumn:"> - stringForColumn:</option>
-
- <option value="//api/name/stringForColumnIndex:"> - stringForColumnIndex:</option>
-
- <option value="//api/name/unsignedLongLongIntForColumn:"> - unsignedLongLongIntForColumn:</option>
-
- <option value="//api/name/unsignedLongLongIntForColumnIndex:"> - unsignedLongLongIntForColumnIndex:</option>
-
-
-
- </select>
- </li>
- </ul>
- </header>
- <nav id="tocContainer" class="isShowingTOC">
- <ul id="toc" role="tree">
-
- <li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>
- <li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Properties">Properties</a></span></li>
-
- </ul></li>
- <li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/query">query</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/statement">statement</a></span></li>
-
- </ul></li>
- <li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#class_methods">Class Methods</a></span><ul>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/resultSetWithStatement:usingParentDatabase:">resultSetWithStatement:usingParentDatabase:</a></span></li>
-
- </ul></li>
- <li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/UTF8StringForColumnIndex:">UTF8StringForColumnIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/UTF8StringForColumnName:">UTF8StringForColumnName:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/boolForColumn:">boolForColumn:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/boolForColumnIndex:">boolForColumnIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/close">close</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/columnCount">columnCount</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/columnIndexForName:">columnIndexForName:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/columnIndexIsNull:">columnIndexIsNull:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/columnIsNull:">columnIsNull:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/columnNameForIndex:">columnNameForIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/columnNameToIndexMap">columnNameToIndexMap</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/dataForColumn:">dataForColumn:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/dataForColumnIndex:">dataForColumnIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/dataNoCopyForColumn:">dataNoCopyForColumn:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/dataNoCopyForColumnIndex:">dataNoCopyForColumnIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/dateForColumn:">dateForColumn:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/dateForColumnIndex:">dateForColumnIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/doubleForColumn:">doubleForColumn:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/doubleForColumnIndex:">doubleForColumnIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/hasAnotherRow">hasAnotherRow</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/intForColumn:">intForColumn:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/intForColumnIndex:">intForColumnIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/kvcMagic:">kvcMagic:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/longForColumn:">longForColumn:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/longForColumnIndex:">longForColumnIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/longLongIntForColumn:">longLongIntForColumn:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/longLongIntForColumnIndex:">longLongIntForColumnIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/next">next</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/objectAtIndexedSubscript:">objectAtIndexedSubscript:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/objectForColumnIndex:">objectForColumnIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/objectForColumnName:">objectForColumnName:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/objectForKeyedSubscript:">objectForKeyedSubscript:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/resultDict">resultDict</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/resultDictionary">resultDictionary</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stringForColumn:">stringForColumn:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stringForColumnIndex:">stringForColumnIndex:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/unsignedLongLongIntForColumn:">unsignedLongLongIntForColumn:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/unsignedLongLongIntForColumnIndex:">unsignedLongLongIntForColumnIndex:</a></span></li>
-
- </ul></li>
- </ul>
- </nav>
- <article>
- <div id="contents" class="isShowingTOC" role="main">
- <a title="FMResultSet Class Reference" name="top"></a>
- <div class="main-navigation navigation-top">
- <ul>
- <li><a href="../index.html">Index</a></li>
- <li><a href="../hierarchy.html">Hierarchy</a></li>
- </ul>
- </div>
- <div id="header">
- <div class="section-header">
- <h1 class="title title-header">FMResultSet Class Reference</h1>
- </div>
- </div>
- <div id="container">
-
- <div class="section section-specification"><table cellspacing="0"><tbody>
- <tr>
- <td class="specification-title">Inherits from</td>
- <td class="specification-value">NSObject</td>
- </tr><tr>
- <td class="specification-title">Declared in</td>
- <td class="specification-value">FMResultSet.h<br />FMResultSet.m</td>
- </tr>
- </tbody></table></div>
-
-
-
-
- <div class="section section-overview">
- <a title="Overview" name="overview"></a>
- <h2 class="subtitle subtitle-overview">Overview</h2>
- <p>Represents the results of executing a query on an <a href="../Classes/FMDatabase.html"><code>FMDatabase</code></a>.</p>
- <h3>See also</h3>
- <ul>
- <li><a href="../Classes/FMDatabase.html"><code>FMDatabase</code></a></li>
- </ul>
- </div>
-
-
-
-
-
- <div class="section section-tasks">
- <a title="Tasks" name="tasks"></a>
- <h2 class="subtitle subtitle-tasks">Tasks</h2>
-
-
-
- <h3 class="subsubtitle task-title">Other Methods</h3>
- <ul class="task-list">
- <li>
- <span class="tooltip">
- <code><a href="#//api/name/resultSetWithStatement:usingParentDatabase:">+ resultSetWithStatement:usingParentDatabase:</a></code>
- <span class="tooltip"><p>Create result set from <a href="../Classes/FMStatement.html"><code>FMStatement</code></a></p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/close">– close</a></code>
- <span class="tooltip"><p>Close result set</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/columnCount">– columnCount</a></code>
- <span class="tooltip"><p>How many columns in result set</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/columnNameToIndexMap">– columnNameToIndexMap</a></code>
- <span class="tooltip"><p><code>NSMutableDictionary</code> mapping column names to numeric index</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/kvcMagic:">– kvcMagic:</a></code>
- <span class="tooltip"><p>Performs <code>setValue</code> to yield support for key value observing.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/resultDict">– resultDict</a></code>
- <span class="tooltip"><p>Returns a dictionary of the row results</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/resultDictionary">– resultDictionary</a></code>
- <span class="tooltip"><p>Returns a dictionary of the row results mapped to case sensitive keys of the column names.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/next">– next</a></code>
- <span class="tooltip"><p>Retrieve next row for result set.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/hasAnotherRow">– hasAnotherRow</a></code>
- <span class="tooltip"><p>Did the last call to <a href="#//api/name/next"><code>next</code></a> succeed in retrieving another row?</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/columnIndexForName:">– columnIndexForName:</a></code>
- <span class="tooltip"><p>Column index for column name</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/intForColumn:">– intForColumn:</a></code>
- <span class="tooltip"><p>Result set integer value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/intForColumnIndex:">– intForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set integer value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/longForColumn:">– longForColumn:</a></code>
- <span class="tooltip"><p>Result set <code>long</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/longForColumnIndex:">– longForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set long value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/longLongIntForColumn:">– longLongIntForColumn:</a></code>
- <span class="tooltip"><p>Result set <code>long long int</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/longLongIntForColumnIndex:">– longLongIntForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set <code>long long int</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/unsignedLongLongIntForColumn:">– unsignedLongLongIntForColumn:</a></code>
- <span class="tooltip"><p>Result set <code>unsigned long long int</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/unsignedLongLongIntForColumnIndex:">– unsignedLongLongIntForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set <code>unsigned long long int</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/boolForColumn:">– boolForColumn:</a></code>
- <span class="tooltip"><p>Result set <code>BOOL</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/boolForColumnIndex:">– boolForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set <code>BOOL</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/doubleForColumn:">– doubleForColumn:</a></code>
- <span class="tooltip"><p>Result set <code>double</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/doubleForColumnIndex:">– doubleForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set <code>double</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/stringForColumnIndex:">– stringForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set <code>NSString</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/stringForColumn:">– stringForColumn:</a></code>
- <span class="tooltip"><p>Result set <code>NSString</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/dateForColumn:">– dateForColumn:</a></code>
- <span class="tooltip"><p>Result set <code>NSDate</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/dateForColumnIndex:">– dateForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set <code>NSDate</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/dataForColumn:">– dataForColumn:</a></code>
- <span class="tooltip"><p>Result set <code>NSData</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/dataForColumnIndex:">– dataForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set <code>NSData</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/dataNoCopyForColumn:">– dataNoCopyForColumn:</a></code>
- <span class="tooltip"><p>Result set <code>NSData</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/dataNoCopyForColumnIndex:">– dataNoCopyForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set <code>NSData</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/columnIndexIsNull:">– columnIndexIsNull:</a></code>
- <span class="tooltip"><p>Is the column <code>NULL</code>?</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/columnIsNull:">– columnIsNull:</a></code>
- <span class="tooltip"><p>Is the column <code>NULL</code>?</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/UTF8StringForColumnIndex:">– UTF8StringForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set <code>(const unsigned char *)</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/UTF8StringForColumnName:">– UTF8StringForColumnName:</a></code>
- <span class="tooltip"><p>Result set <code>(const unsigned char *)</code> value for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/objectForColumnIndex:">– objectForColumnIndex:</a></code>
- <span class="tooltip"><p>Result set object for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/objectForColumnName:">– objectForColumnName:</a></code>
- <span class="tooltip"><p>Result set object for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/columnNameForIndex:">– columnNameForIndex:</a></code>
- <span class="tooltip"><p>Column name for column index</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/objectAtIndexedSubscript:">– objectAtIndexedSubscript:</a></code>
- <span class="tooltip"><p>Result set object for column.</p></span>
- </span>
-
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/objectForKeyedSubscript:">– objectForKeyedSubscript:</a></code>
- <span class="tooltip"><p>Result set object for column.</p></span>
- </span>
-
-
- </li>
- </ul>
-
-
- <a title="Properties" name="task_Properties"></a>
- <h3 class="subsubtitle task-title">Properties</h3>
- <ul class="task-list">
- <li>
- <span class="tooltip">
- <code><a href="#//api/name/query"> query</a></code>
- <span class="tooltip"><p>Executed query</p></span>
- </span>
- <span class="task-item-suffix">property</span>
-
- </li><li>
- <span class="tooltip">
- <code><a href="#//api/name/statement"> statement</a></code>
- <span class="tooltip"><p><code>FMStatement</code> used by result set.</p></span>
- </span>
- <span class="task-item-suffix">property</span>
-
- </li>
- </ul>
-
- </div>
-
-
-
-
-
- <div class="section section-methods">
- <a title="Properties" name="properties"></a>
- <h2 class="subtitle subtitle-methods">Properties</h2>
-
- <div class="section-method">
- <a name="//api/name/query" title="query"></a>
- <h3 class="subsubtitle method-title">query</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Executed query</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>@property (atomic, retain) NSString *query</code></div>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/statement" title="statement"></a>
- <h3 class="subsubtitle method-title">statement</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p><code>FMStatement</code> used by result set.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>@property (atomic, retain) FMStatement *statement</code></div>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- </div>
-
-
-
- <div class="section section-methods">
- <a title="Class Methods" name="class_methods"></a>
- <h2 class="subtitle subtitle-methods">Class Methods</h2>
-
- <div class="section-method">
- <a name="//api/name/resultSetWithStatement:usingParentDatabase:" title="resultSetWithStatement:usingParentDatabase:"></a>
- <h3 class="subsubtitle method-title">resultSetWithStatement:usingParentDatabase:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Create result set from <a href="../Classes/FMStatement.html"><code>FMStatement</code></a></p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>+ (instancetype)resultSetWithStatement:(FMStatement *)<em>statement</em> usingParentDatabase:(FMDatabase *)<em>aDB</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>statement</em></dt>
- <dd><p>A <a href="../Classes/FMStatement.html"><code>FMStatement</code></a> to be performed</p></dd>
- </dl>
-
- <dl class="argument-def parameter-def">
- <dt><em>aDB</em></dt>
- <dd><p>A <a href="../Classes/FMDatabase.html"><code>FMDatabase</code></a> to be used</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>A <code>FMResultSet</code> on success; <code>nil</code> on failure</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- </div>
-
-
-
- <div class="section section-methods">
- <a title="Instance Methods" name="instance_methods"></a>
- <h2 class="subtitle subtitle-methods">Instance Methods</h2>
-
- <div class="section-method">
- <a name="//api/name/UTF8StringForColumnIndex:" title="UTF8StringForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">UTF8StringForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>(const unsigned char *)</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (const unsigned char *)UTF8StringForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>(const unsigned char *)</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/UTF8StringForColumnName:" title="UTF8StringForColumnName:"></a>
- <h3 class="subsubtitle method-title">UTF8StringForColumnName:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>(const unsigned char *)</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (const unsigned char *)UTF8StringForColumnName:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>(const unsigned char *)</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/boolForColumn:" title="boolForColumn:"></a>
- <h3 class="subsubtitle method-title">boolForColumn:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>BOOL</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (BOOL)boolForColumn:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>BOOL</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/boolForColumnIndex:" title="boolForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">boolForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>BOOL</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (BOOL)boolForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>BOOL</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/close" title="close"></a>
- <h3 class="subsubtitle method-title">close</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Close result set</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (void)close</code></div>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/columnCount" title="columnCount"></a>
- <h3 class="subsubtitle method-title">columnCount</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>How many columns in result set</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (int)columnCount</code></div>
-
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>Integer value of the number of columns.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/columnIndexForName:" title="columnIndexForName:"></a>
- <h3 class="subsubtitle method-title">columnIndexForName:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Column index for column name</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (int)columnIndexForName:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>Zero-based index for column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/columnIndexIsNull:" title="columnIndexIsNull:"></a>
- <h3 class="subsubtitle method-title">columnIndexIsNull:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Is the column <code>NULL</code>?</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (BOOL)columnIndexIsNull:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>YES</code> if column is <code>NULL</code>; <code>NO</code> if not <code>NULL</code>.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/columnIsNull:" title="columnIsNull:"></a>
- <h3 class="subsubtitle method-title">columnIsNull:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Is the column <code>NULL</code>?</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (BOOL)columnIsNull:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>YES</code> if column is <code>NULL</code>; <code>NO</code> if not <code>NULL</code>.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/columnNameForIndex:" title="columnNameForIndex:"></a>
- <h3 class="subsubtitle method-title">columnNameForIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Column name for column index</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSString *)columnNameForIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>columnName <code>NSString</code> value of the name of the column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/columnNameToIndexMap" title="columnNameToIndexMap"></a>
- <h3 class="subsubtitle method-title">columnNameToIndexMap</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p><code>NSMutableDictionary</code> mapping column names to numeric index</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSMutableDictionary *)columnNameToIndexMap</code></div>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/dataForColumn:" title="dataForColumn:"></a>
- <h3 class="subsubtitle method-title">dataForColumn:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>NSData</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSData *)dataForColumn:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSData</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>This is useful when storing binary data in table (such as image or the like).</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/dataForColumnIndex:" title="dataForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">dataForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>NSData</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSData *)dataForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSData</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/dataNoCopyForColumn:" title="dataNoCopyForColumn:"></a>
- <h3 class="subsubtitle method-title">dataNoCopyForColumn:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>NSData</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSData *)dataNoCopyForColumn:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSData</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <div class="warning"><p><strong>Warning:</strong> If you are going to use this data after you iterate over the next row, or after you close the
- result set, make sure to make a copy of the data first (or just use <a href="#//api/name/dataForColumn:"><code>dataForColumn:</code></a>/<a href="#//api/name/dataForColumnIndex:"><code>dataForColumnIndex:</code></a>)
- If you don’t, you’re going to be in a world of hurt when you try and use the data.</p></div>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/dataNoCopyForColumnIndex:" title="dataNoCopyForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">dataNoCopyForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>NSData</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSData *)dataNoCopyForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSData</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <div class="warning"><p><strong>Warning:</strong> If you are going to use this data after you iterate over the next row, or after you close the
- result set, make sure to make a copy of the data first (or just use <a href="#//api/name/dataForColumn:"><code>dataForColumn:</code></a>/<a href="#//api/name/dataForColumnIndex:"><code>dataForColumnIndex:</code></a>)
- If you don’t, you’re going to be in a world of hurt when you try and use the data.</p></div>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/dateForColumn:" title="dateForColumn:"></a>
- <h3 class="subsubtitle method-title">dateForColumn:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>NSDate</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSDate *)dateForColumn:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSDate</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/dateForColumnIndex:" title="dateForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">dateForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>NSDate</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSDate *)dateForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSDate</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/doubleForColumn:" title="doubleForColumn:"></a>
- <h3 class="subsubtitle method-title">doubleForColumn:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>double</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (double)doubleForColumn:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>double</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/doubleForColumnIndex:" title="doubleForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">doubleForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>double</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (double)doubleForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>double</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/hasAnotherRow" title="hasAnotherRow"></a>
- <h3 class="subsubtitle method-title">hasAnotherRow</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Did the last call to <a href="#//api/name/next"><code>next</code></a> succeed in retrieving another row?</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (BOOL)hasAnotherRow</code></div>
-
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>YES</code> if the last call to <a href="#//api/name/next"><code>next</code></a> succeeded in retrieving another record; <code>NO</code> if not.</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <div class="warning"><p><strong>Warning:</strong> The <code>hasAnotherRow</code> method must follow a call to <a href="#//api/name/next"><code>next</code></a>. If the previous database interaction was something other than a call to <code>next</code>, then this method may return <code>NO</code>, whether there is another row of data or not.</p></div>
- </div>
-
-
-
-
-
- <div class="method-subsection see-also-section">
- <h4 class="method-subtitle">See Also</h4>
- <ul>
-
- <li><code><p><a href="#//api/name/next">- next</a></p></code></li>
-
- </ul>
- </div>
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/intForColumn:" title="intForColumn:"></a>
- <h3 class="subsubtitle method-title">intForColumn:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set integer value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (int)intForColumn:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>int</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/intForColumnIndex:" title="intForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">intForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set integer value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (int)intForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>int</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/kvcMagic:" title="kvcMagic:"></a>
- <h3 class="subsubtitle method-title">kvcMagic:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Performs <code>setValue</code> to yield support for key value observing.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (void)kvcMagic:(id)<em>object</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>object</em></dt>
- <dd><p>The object for which the values will be set. This is the key-value-coding compliant object that you might, for example, observe.</p></dd>
- </dl>
-
- </div>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/longForColumn:" title="longForColumn:"></a>
- <h3 class="subsubtitle method-title">longForColumn:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>long</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (long)longForColumn:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>long</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/longForColumnIndex:" title="longForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">longForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set long value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (long)longForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>long</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/longLongIntForColumn:" title="longLongIntForColumn:"></a>
- <h3 class="subsubtitle method-title">longLongIntForColumn:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>long long int</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (long long int)longLongIntForColumn:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>long long int</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/longLongIntForColumnIndex:" title="longLongIntForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">longLongIntForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>long long int</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (long long int)longLongIntForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>long long int</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/next" title="next"></a>
- <h3 class="subsubtitle method-title">next</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Retrieve next row for result set.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (BOOL)next</code></div>
-
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>YES</code> if row successfully retrieved; <code>NO</code> if end of result set reached</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>You must always invoke <code>next</code> before attempting to access the values returned in a query, even if you’re only expecting one.</p>
- </div>
-
-
-
-
-
- <div class="method-subsection see-also-section">
- <h4 class="method-subtitle">See Also</h4>
- <ul>
-
- <li><code><p><a href="#//api/name/hasAnotherRow">- hasAnotherRow</a></p></code></li>
-
- </ul>
- </div>
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/objectAtIndexedSubscript:" title="objectAtIndexedSubscript:"></a>
- <h3 class="subsubtitle method-title">objectAtIndexedSubscript:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set object for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (id)objectAtIndexedSubscript:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>Either <code>NSNumber</code>, <code>NSString</code>, <code>NSData</code>, or <code>NSNull</code>. If the column was <code>NULL</code>, this returns <code>[NSNull null]</code> object.</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>This method allows the use of the “boxed” syntax supported in Modern Objective-C. For example, by defining this method, the following syntax is now supported:</p>
- <pre><code>id result = rs[0];
- </code></pre>
- <p>This simplified syntax is equivalent to calling:</p>
- <pre><code>id result = [rs objectForKeyedSubscript:0];
- </code></pre>
- <p>which is, it turns out, equivalent to calling:</p>
- <pre><code>id result = [rs objectForColumnName:0];
- </code></pre>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/objectForColumnIndex:" title="objectForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">objectForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set object for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (id)objectForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>Either <code>NSNumber</code>, <code>NSString</code>, <code>NSData</code>, or <code>NSNull</code>. If the column was <code>NULL</code>, this returns <code>[NSNull null]</code> object.</p>
- </div>
-
-
-
-
-
-
-
-
-
- <div class="method-subsection see-also-section">
- <h4 class="method-subtitle">See Also</h4>
- <ul>
-
- <li><code><p><a href="#//api/name/objectAtIndexedSubscript:">- objectAtIndexedSubscript:</a></p></code></li>
-
- </ul>
- </div>
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/objectForColumnName:" title="objectForColumnName:"></a>
- <h3 class="subsubtitle method-title">objectForColumnName:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set object for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (id)objectForColumnName:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>Either <code>NSNumber</code>, <code>NSString</code>, <code>NSData</code>, or <code>NSNull</code>. If the column was <code>NULL</code>, this returns <code>[NSNull null]</code> object.</p>
- </div>
-
-
-
-
-
-
-
-
-
- <div class="method-subsection see-also-section">
- <h4 class="method-subtitle">See Also</h4>
- <ul>
-
- <li><code><p><a href="#//api/name/objectForKeyedSubscript:">- objectForKeyedSubscript:</a></p></code></li>
-
- </ul>
- </div>
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/objectForKeyedSubscript:" title="objectForKeyedSubscript:"></a>
- <h3 class="subsubtitle method-title">objectForKeyedSubscript:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set object for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (id)objectForKeyedSubscript:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>Either <code>NSNumber</code>, <code>NSString</code>, <code>NSData</code>, or <code>NSNull</code>. If the column was <code>NULL</code>, this returns <code>[NSNull null]</code> object.</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>This method allows the use of the “boxed” syntax supported in Modern Objective-C. For example, by defining this method, the following syntax is now supported:</p>
- <pre><code>id result = rs[@"employee_name"];
- </code></pre>
- <p>This simplified syntax is equivalent to calling:</p>
- <pre><code>id result = [rs objectForKeyedSubscript:@"employee_name"];
- </code></pre>
- <p>which is, it turns out, equivalent to calling:</p>
- <pre><code>id result = [rs objectForColumnName:@"employee_name"];
- </code></pre>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/resultDict" title="resultDict"></a>
- <h3 class="subsubtitle method-title">resultDict</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Returns a dictionary of the row results</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSDictionary *)resultDict</code></div>
-
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <div class="warning"><p><strong>Warning:</strong> <strong>Deprecated</strong>: Please use <a href="#//api/name/resultDictionary"><code>resultDictionary</code></a> instead. Also, beware that <a href="#//api/name/resultDictionary"><code>resultDictionary</code></a> is case sensitive!</p></div>
- </div>
-
-
-
-
-
- <div class="method-subsection see-also-section">
- <h4 class="method-subtitle">See Also</h4>
- <ul>
-
- <li><code><p><a href="#//api/name/resultDictionary">- resultDictionary</a></p></code></li>
-
- </ul>
- </div>
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/resultDictionary" title="resultDictionary"></a>
- <h3 class="subsubtitle method-title">resultDictionary</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Returns a dictionary of the row results mapped to case sensitive keys of the column names.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSDictionary *)resultDictionary</code></div>
-
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSDictionary</code> of the row results.</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <div class="warning"><p><strong>Warning:</strong> The keys to the dictionary are case sensitive of the column names.</p></div>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/stringForColumn:" title="stringForColumn:"></a>
- <h3 class="subsubtitle method-title">stringForColumn:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>NSString</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSString *)stringForColumn:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSString</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/stringForColumnIndex:" title="stringForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">stringForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>NSString</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (NSString *)stringForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSString</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/unsignedLongLongIntForColumn:" title="unsignedLongLongIntForColumn:"></a>
- <h3 class="subsubtitle method-title">unsignedLongLongIntForColumn:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>unsigned long long int</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (unsigned long long int)unsignedLongLongIntForColumn:(NSString *)<em>columnName</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnName</em></dt>
- <dd><p><code>NSString</code> value of the name of the column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>unsigned long long int</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- <div class="section-method">
- <a name="//api/name/unsignedLongLongIntForColumnIndex:" title="unsignedLongLongIntForColumnIndex:"></a>
- <h3 class="subsubtitle method-title">unsignedLongLongIntForColumnIndex:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Result set <code>unsigned long long int</code> value for column.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>- (unsigned long long int)unsignedLongLongIntForColumnIndex:(int)<em>columnIdx</em></code></div>
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>columnIdx</em></dt>
- <dd><p>Zero-based index for column.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>unsigned long long int</code> value of the result set’s column.</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">FMResultSet.h</code><br />
- </div>
-
-
- </div>
-
- </div>
-
-
- </div>
- <div class="main-navigation navigation-bottom">
- <ul>
- <li><a href="../index.html">Index</a></li>
- <li><a href="../hierarchy.html">Hierarchy</a></li>
- </ul>
- </div>
- <div id="footer">
- <hr />
- <div class="footer-copyright">
- <p><span class="copyright">© 2014 ccgus. All rights reserved. (Last updated: 2014-05-25)</span><br />
-
- <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 858)</a>.</span></p>
-
- </div>
- </div>
- </div>
- </article>
- <script type="text/javascript">
- function jumpToChange()
- {
- window.location.hash = this.options[this.selectedIndex].value;
- }
-
- function toggleTOC()
- {
- var contents = document.getElementById('contents');
- var tocContainer = document.getElementById('tocContainer');
-
- if (this.getAttribute('class') == 'open')
- {
- this.setAttribute('class', '');
- contents.setAttribute('class', '');
- tocContainer.setAttribute('class', '');
-
- window.name = "hideTOC";
- }
- else
- {
- this.setAttribute('class', 'open');
- contents.setAttribute('class', 'isShowingTOC');
- tocContainer.setAttribute('class', 'isShowingTOC');
-
- window.name = "";
- }
- return false;
- }
-
- function toggleTOCEntryChildren(e)
- {
- e.stopPropagation();
- var currentClass = this.getAttribute('class');
- if (currentClass == 'children') {
- this.setAttribute('class', 'children open');
- }
- else if (currentClass == 'children open') {
- this.setAttribute('class', 'children');
- }
- return false;
- }
-
- function tocEntryClick(e)
- {
- e.stopPropagation();
- return true;
- }
-
- function init()
- {
- var selectElement = document.getElementById('jumpTo');
- selectElement.addEventListener('change', jumpToChange, false);
-
- var tocButton = document.getElementById('table_of_contents');
- tocButton.addEventListener('click', toggleTOC, false);
-
- var taskTreeItem = document.getElementById('task_treeitem');
- if (taskTreeItem.getElementsByTagName('li').length > 0)
- {
- taskTreeItem.setAttribute('class', 'children');
- taskTreeItem.firstChild.setAttribute('class', 'disclosure');
- }
-
- var tocList = document.getElementById('toc');
-
- var tocEntries = tocList.getElementsByTagName('li');
- for (var i = 0; i < tocEntries.length; i++) {
- tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
- }
-
- var tocLinks = tocList.getElementsByTagName('a');
- for (var i = 0; i < tocLinks.length; i++) {
- tocLinks[i].addEventListener('click', tocEntryClick, false);
- }
-
- if (window.name == "hideTOC") {
- toggleTOC.call(tocButton);
- }
- }
-
- window.onload = init;
-
- // If showing in Xcode, hide the TOC and Header
- if (navigator.userAgent.match(/xcode/i)) {
- document.getElementById("contents").className = "hideInXcode"
- document.getElementById("tocContainer").className = "hideInXcode"
- document.getElementById("top_header").className = "hideInXcode"
- }
-
- </script>
- </body>
- </html>
|