[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] DBI FieldConverter and what to throw away
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] DBI FieldConverter and what to throw away |
Date: |
Tue, 21 May 2013 09:46:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
Il 20/05/2013 08:55, Holger Hans Peter Freyther ha scritto:
>
> aValue isNil ifTrue: [ aStream nextPutAll: 'NULL'. ^self ].
> aSelector := converterSelectors at: aValue class
> ifAbsent: [ aValue isInteger
> ifTrue: [#writeInteger:on:]
> ifFalse: [#defaultConvert:on:]].
>
> but then again, I could just remove the writeInteger:on:
> selector and entry from the look-up table. How should I
> proceed?
You can leave the Integer entry in the table, but commented out.
Paolo