Copyright | HWT Group (c) 2003, [email protected] |
---|---|
License | BSD-style |
Maintainer | [email protected] |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell98 |
Database.HaskellDB.BoundedString
Description
BoundedString represents the sql types; CHARACTER and CHARACTER VARYING both defined in SQL 1992. BoundedString supports sizes in the range [0,255] and 65535. Greater sizes and the sql type SQL_TEXT (SQL 1992) will might be supported in the future.
The use of BoundedString together with HaskellDB enables feedback when the length of a string exceeds the bound of a certain database field. BoundedString also provides a layer of type safety against loss of data due to sql string truncation when extracting and re-insert data into fields with smaller bound.
Documentation
type BoundedString n = BoundedList Char n Source
type BStr0 = BoundedString N0 Source
type BStr1 = BoundedString N1 Source
type BStr2 = BoundedString N2 Source
type BStr3 = BoundedString N3 Source
type BStr4 = BoundedString N4 Source
type BStr5 = BoundedString N5 Source
type BStr6 = BoundedString N6 Source
type BStr7 = BoundedString N7 Source
type BStr8 = BoundedString N8 Source
type BStr9 = BoundedString N9 Source
type BStr10 = BoundedString N10 Source
type BStr11 = BoundedString N11 Source
type BStr12 = BoundedString N12 Source
type BStr13 = BoundedString N13 Source
type BStr14 = BoundedString N14 Source
type BStr15 = BoundedString N15 Source
type BStr16 = BoundedString N16 Source
type BStr17 = BoundedString N17 Source
type BStr18 = BoundedString N18 Source
type BStr19 = BoundedString N19 Source
type BStr20 = BoundedString N20 Source
type BStr21 = BoundedString N21 Source
type BStr22 = BoundedString N22 Source
type BStr23 = BoundedString N23 Source
type BStr24 = BoundedString N24 Source
type BStr25 = BoundedString N25 Source
type BStr26 = BoundedString N26 Source
type BStr27 = BoundedString N27 Source
type BStr28 = BoundedString N28 Source
type BStr29 = BoundedString N29 Source
type BStr30 = BoundedString N30 Source
type BStr31 = BoundedString N31 Source
type BStr32 = BoundedString N32 Source
type BStr33 = BoundedString N33 Source
type BStr34 = BoundedString N34 Source
type BStr35 = BoundedString N35 Source
type BStr36 = BoundedString N36 Source
type BStr37 = BoundedString N37 Source
type BStr38 = BoundedString N38 Source
type BStr39 = BoundedString N39 Source
type BStr40 = BoundedString N40 Source
type BStr41 = BoundedString N41 Source
type BStr42 = BoundedString N42 Source
type BStr43 = BoundedString N43 Source
type BStr44 = BoundedString N44 Source
type BStr45 = BoundedString N45 Source
type BStr46 = BoundedString N46 Source
type BStr47 = BoundedString N47 Source
type BStr48 = BoundedString N48 Source
type BStr49 = BoundedString N49 Source
type BStr50 = BoundedString N50 Source
type BStr51 = BoundedString N51 Source
type BStr52 = BoundedString N52 Source
type BStr53 = BoundedString N53 Source
type BStr54 = BoundedString N54 Source
type BStr55 = BoundedString N55 Source
type BStr56 = BoundedString N56 Source
type BStr57 = BoundedString N57 Source
type BStr58 = BoundedString N58 Source
type BStr59 = BoundedString N59 Source
type BStr60 = BoundedString N60 Source
type BStr61 = BoundedString N61 Source
type BStr62 = BoundedString N62 Source
type BStr63 = BoundedString N63 Source
type BStr64 = BoundedString N64 Source
type BStr65 = BoundedString N65 Source
type BStr66 = BoundedString N66 Source
type BStr67 = BoundedString N67 Source
type BStr68 = BoundedString N68 Source
type BStr69 = BoundedString N69 Source
type BStr70 = BoundedString N70 Source
type BStr71 = BoundedString N71 Source
type BStr72 = BoundedString N72 Source
type BStr73 = BoundedString N73 Source
type BStr74 = BoundedString N74 Source
type BStr75 = BoundedString N75 Source
type BStr76 = BoundedString N76 Source
type BStr77 = BoundedString N77 Source
type BStr78 = BoundedString N78 Source
type BStr79 = BoundedString N79 Source
type BStr80 = BoundedString N80 Source
type BStr81 = BoundedString N81 Source
type BStr82 = BoundedString N82 Source
type BStr83 = BoundedString N83 Source
type BStr84 = BoundedString N84 Source
type BStr85 = BoundedString N85 Source
type BStr86 = BoundedString N86 Source
type BStr87 = BoundedString N87 Source
type BStr88 = BoundedString N88 Source
type BStr89 = BoundedString N89 Source
type BStr90 = BoundedString N90 Source
type BStr91 = BoundedString N91 Source
type BStr92 = BoundedString N92 Source
type BStr93 = BoundedString N93 Source
type BStr94 = BoundedString N94 Source
type BStr95 = BoundedString N95 Source
type BStr96 = BoundedString N96 Source
type BStr97 = BoundedString N97 Source
type BStr98 = BoundedString N98 Source
type BStr99 = BoundedString N99 Source
type BStr100 = BoundedString N100 Source
type BStr101 = BoundedString N101 Source
type BStr102 = BoundedString N102 Source
type BStr103 = BoundedString N103 Source
type BStr104 = BoundedString N104 Source
type BStr105 = BoundedString N105 Source
type BStr106 = BoundedString N106 Source
type BStr107 = BoundedString N107 Source
type BStr108 = BoundedString N108 Source
type BStr109 = BoundedString N109 Source
type BStr110 = BoundedString N110 Source
type BStr111 = BoundedString N111 Source
type BStr112 = BoundedString N112 Source
type BStr113 = BoundedString N113 Source
type BStr114 = BoundedString N114 Source
type BStr115 = BoundedString N115 Source
type BStr116 = BoundedString N116 Source
type BStr117 = BoundedString N117 Source
type BStr118 = BoundedString N118 Source
type BStr119 = BoundedString N119 Source
type BStr120 = BoundedString N120 Source
type BStr121 = BoundedString N121 Source
type BStr122 = BoundedString N122 Source
type BStr123 = BoundedString N123 Source
type BStr124 = BoundedString N124 Source
type BStr125 = BoundedString N125 Source
type BStr126 = BoundedString N126 Source
type BStr127 = BoundedString N127 Source
type BStr128 = BoundedString N128 Source
type BStr129 = BoundedString N129 Source
type BStr130 = BoundedString N130 Source
type BStr131 = BoundedString N131 Source
type BStr132 = BoundedString N132 Source
type BStr133 = BoundedString N133 Source
type BStr134 = BoundedString N134 Source
type BStr135 = BoundedString N135 Source
type BStr136 = BoundedString N136 Source
type BStr137 = BoundedString N137 Source
type BStr138 = BoundedString N138 Source
type BStr139 = BoundedString N139 Source
type BStr140 = BoundedString N140 Source
type BStr141 = BoundedString N141 Source
type BStr142 = BoundedString N142 Source
type BStr143 = BoundedString N143 Source
type BStr144 = BoundedString N144 Source
type BStr145 = BoundedString N145 Source
type BStr146 = BoundedString N146 Source
type BStr147 = BoundedString N147 Source
type BStr148 = BoundedString N148 Source
type BStr149 = BoundedString N149 Source
type BStr150 = BoundedString N150 Source
type BStr151 = BoundedString N151 Source
type BStr152 = BoundedString N152 Source
type BStr153 = BoundedString N153 Source
type BStr154 = BoundedString N154 Source
type BStr155 = BoundedString N155 Source
type BStr156 = BoundedString N156 Source
type BStr157 = BoundedString N157 Source
type BStr158 = BoundedString N158 Source
type BStr159 = BoundedString N159 Source
type BStr160 = BoundedString N160 Source
type BStr161 = BoundedString N161 Source
type BStr162 = BoundedString N162 Source
type BStr163 = BoundedString N163 Source
type BStr164 = BoundedString N164 Source
type BStr165 = BoundedString N165 Source
type BStr166 = BoundedString N166 Source
type BStr167 = BoundedString N167 Source
type BStr168 = BoundedString N168 Source
type BStr169 = BoundedString N169 Source
type BStr170 = BoundedString N170 Source
type BStr171 = BoundedString N171 Source
type BStr172 = BoundedString N172 Source
type BStr173 = BoundedString N173 Source
type BStr174 = BoundedString N174 Source
type BStr175 = BoundedString N175 Source
type BStr176 = BoundedString N176 Source
type BStr177 = BoundedString N177 Source
type BStr178 = BoundedString N178 Source
type BStr179 = BoundedString N179 Source
type BStr180 = BoundedString N180 Source
type BStr181 = BoundedString N181 Source
type BStr182 = BoundedString N182 Source
type BStr183 = BoundedString N183 Source
type BStr184 = BoundedString N184 Source
type BStr185 = BoundedString N185 Source
type BStr186 = BoundedString N186 Source
type BStr187 = BoundedString N187 Source
type BStr188 = BoundedString N188 Source
type BStr189 = BoundedString N189 Source
type BStr190 = BoundedString N190 Source
type BStr191 = BoundedString N191 Source
type BStr192 = BoundedString N192 Source
type BStr193 = BoundedString N193 Source
type BStr194 = BoundedString N194 Source
type BStr195 = BoundedString N195 Source
type BStr196 = BoundedString N196 Source
type BStr197 = BoundedString N197 Source
type BStr198 = BoundedString N198 Source
type BStr199 = BoundedString N199 Source
type BStr200 = BoundedString N200 Source
type BStr201 = BoundedString N201 Source
type BStr202 = BoundedString N202 Source
type BStr203 = BoundedString N203 Source
type BStr204 = BoundedString N204 Source
type BStr205 = BoundedString N205 Source
type BStr206 = BoundedString N206 Source
type BStr207 = BoundedString N207 Source
type BStr208 = BoundedString N208 Source
type BStr209 = BoundedString N209 Source
type BStr210 = BoundedString N210 Source
type BStr211 = BoundedString N211 Source
type BStr212 = BoundedString N212 Source
type BStr213 = BoundedString N213 Source
type BStr214 = BoundedString N214 Source
type BStr215 = BoundedString N215 Source
type BStr216 = BoundedString N216 Source
type BStr217 = BoundedString N217 Source
type BStr218 = BoundedString N218 Source
type BStr219 = BoundedString N219 Source
type BStr220 = BoundedString N220 Source
type BStr221 = BoundedString N221 Source
type BStr222 = BoundedString N222 Source
type BStr223 = BoundedString N223 Source
type BStr224 = BoundedString N224 Source
type BStr225 = BoundedString N225 Source
type BStr226 = BoundedString N226 Source
type BStr227 = BoundedString N227 Source
type BStr228 = BoundedString N228 Source
type BStr229 = BoundedString N229 Source
type BStr230 = BoundedString N230 Source
type BStr231 = BoundedString N231 Source
type BStr232 = BoundedString N232 Source
type BStr233 = BoundedString N233 Source
type BStr234 = BoundedString N234 Source
type BStr235 = BoundedString N235 Source
type BStr236 = BoundedString N236 Source
type BStr237 = BoundedString N237 Source
type BStr238 = BoundedString N238 Source
type BStr239 = BoundedString N239 Source
type BStr240 = BoundedString N240 Source
type BStr241 = BoundedString N241 Source
type BStr242 = BoundedString N242 Source
type BStr243 = BoundedString N243 Source
type BStr244 = BoundedString N244 Source
type BStr245 = BoundedString N245 Source
type BStr246 = BoundedString N246 Source
type BStr247 = BoundedString N247 Source
type BStr248 = BoundedString N248 Source
type BStr249 = BoundedString N249 Source
type BStr250 = BoundedString N250 Source
type BStr251 = BoundedString N251 Source
type BStr252 = BoundedString N252 Source
type BStr253 = BoundedString N253 Source
type BStr254 = BoundedString N254 Source
type BStr255 = BoundedString N255 Source
type BStr65535 = BoundedString N65535 Source