Aquileo | Recent changes to feature-requestshttps://sourceforge.net/p/kinterbasdb/feature-requests/2007-06-29T15:31:47ZRecent changes to feature-requestsAquileo | Expose all of the isc_dpb_shut_* constants2007-06-29T15:31:47Z2007-06-29T15:31:47ZDavid S. Rushbyhttps://sourceforge.net/u/woodsplitter/https://sourceforge.net02e2990daad30df5c6f03473a13e451562841fd5<div class="markdown_content"><p>Expose these constants in both KIDB 3.2.1 and 3.3.x.</p> <p>See forum discussion:<br /> <a href="http://sourceforge.net/forum/forum.php?thread_id=1766485&amp;forum_id=30917">http://sourceforge.net/forum/forum.php?thread_id=1766485&amp;forum_id=30917</a></p></div>Aquileo | description for prepared statiment2006-04-24T07:28:49Z2006-04-24T07:28:49ZAlexandr Zamaraev (aka Tonal)https://sourceforge.net/u/userid-980085/https://sourceforge.net0b16fba0474b608dc0ae7af6b83a54dca42e9019<div class="markdown_content"><p>Requere property description for prepared statiment.</p> <p>Sample code:<br /> curs = conn.cursor()<br /> curs2 = = conn.cursor()<br /> curs.execute(outer_sql)<br /> prepare_outer_space(curs.description)<br /> for orow in curs:<br /> out_outer(orow)<br /> curs2.execute(inner_sql, orow[0])<br /> if not is_inner_space_prepared():<br /> prepare_inner_space(curs2.description)<br /> for irow in curs2:<br /> out_inner(irow)</p> <p>Replace sample:<br /> #Prepared<br /> curs = conn.cursor()<br /> p_outer_sql = curs.prep(outer_sql)<br /> prepare_outer_space(p_outer_sql.description)<br /> curs2 = conn.cursor()<br /> p_inner_sql = curs.prep(inner_sql)<br /> prepare_inner_space(p_inner_sql.description)<br /> #Executed<br /> curs.execute(p_outer_sql)<br /> for orow in curs:<br /> out_outer(orow)<br /> curs2.execute(p_inner_sql, orow[0])<br /> for irow in curs2:<br /> out_inner(irow)</p> <p>===Russion===<br /> Хотелось бы уметь получать описание полей запроса из<br /> prepared statiment-а.<br /> Сейчас для этой цели приходится выполнять дополнительный<br /> запрос, или анализировать - первое ли это выролнение.<br /> Код получается несколько запутанный и смешанный. ;-)</p></div>Aquileo | Event API2005-03-13T01:28:12Z2005-03-13T01:28:12ZMichael van der Kolffhttps://sourceforge.net/u/vandy/https://sourceforge.net9271b9f6b32b87a6a97765195d8af91e4b6f3695<div class="markdown_content"><p>I added a wrapper for the event API - it may be found<br /> in the patches. Please don't hesitate to contact me if<br /> there's a slight problem with them - my email address<br /> is vandy899 at yahoo dot com</p></div>Aquileo | rowmapping 22004-11-12T13:50:59Z2004-11-12T13:50:59ZAnonymoushttps://sourceforge.net/u/userid-None/https://sourceforge.net51f5fc62e432f626572a512d76d05e052b131e40<div class="markdown_content"><p>you need this too</p> <p>def __nonzero__(self):<br /> if self._fields:<br /> return True<br /> return False</p></div>Aquileo | rowmapping 2004-11-12T13:47:09Z2004-11-12T13:47:09ZAnonymoushttps://sourceforge.net/u/userid-None/https://sourceforge.neta9e511c20113525fc8d0b5af73905afd927a2171<div class="markdown_content"><p>can you add this methods to _RowMapping classs<br /> this make row acess via row.fieldname</p> <p>def __eq__(self,other):<br /> return False</p> <p>def __getattr__(self,fieldName):<br /> return self[fieldName]</p></div>Aquileo | python 2.4 decimal support2004-10-31T14:09:57Z2004-10-31T14:09:57ZOleg Deribashttps://sourceforge.net/u/older/https://sourceforge.net67ff2d893fe51762ff1edb4f0970f57835b4b734<div class="markdown_content"><p>As there is new decimal type in python 2.4 - is it<br /> possible to use it instead of fixedpoint?</p></div>Aquileo | role support2002-06-09T22:51:19Z2002-06-09T22:51:19ZDavid S. Rushbyhttps://sourceforge.net/u/woodsplitter/https://sourceforge.netd6bf22c3c6fe48d053dc51845f64c0532a89d69d<div class="markdown_content"><p>Ray Drew brought to my attention the lack of support<br /> for role specification in kinterbasdb 3.0.</p> <p>I'm filing this feature request in order to document<br /> that lack and its fix (coming soon to CVS).</p> <p>See this forum discussion:<br /> <a href="http://sourceforge.net/forum/forum.php?thread_id=686367&amp;amp;forum_id=30917">http://sourceforge.net/forum/forum.php?thread_id=686367&amp;amp;forum_id=30917</a></p></div>Aquileo | gen_id() wrapper needed2002-05-24T12:31:10Z2002-05-24T12:31:10ZBajusz Tamáshttps://sourceforge.net/u/btami/https://sourceforge.net2960db658d1ee2b995a845e0268d36e8e4bc12fb<div class="markdown_content"><p>I like to see a python wrapper to gen_id() function,<br /> becouse i don't want to write a before insert trigger.</p> <p>Now i can use GNUe forms triggers (in client side),<br /> and remain db independent. But only with this trick:</p> <p>select gen_id() from rdb$database</p> <p>in GNUe interbase driver.</p> <p>Bajusz Tamás</p></div>Aquileo | execute method too restrictive re params2002-04-03T14:16:08Z2002-04-03T14:16:08ZDavid S. Rushbyhttps://sourceforge.net/u/woodsplitter/https://sourceforge.netc45971eea719d3f30f087f6de0f54ca8e8cc4c69<div class="markdown_content"><p>The Cursor.execute method *demands* a tuple as its<br /> parameter sequence. It seems to me that any sequence<br /> should be accepted; that would be more Pythonic.</p></div>Aquileo | if long fits into integer return as int2002-02-26T16:46:03Z2002-02-26T16:46:03ZMaik Wojcieszakhttps://sourceforge.net/u/maikwoj/https://sourceforge.net382aff4914869fd03845ce086c7a801541e36edc<div class="markdown_content"><p>Hi,</p> <p>I'm using kinterbase with zope. In this context I need<br /> an integer in the database returned as Py_int and not<br /> as Py_long. With long datatype the tree in zope will<br /> not work <br /> correctly. This problem is known from gvib.</p> <p>I fixed the current version of kinterbase to return the <br /> value properly.</p> <p>see attached file ;-)</p></div>