Commit 41fbe378532ee469f17fdb550953b8eee4f81458
1 parent
4616a87c
add bind_BLOB
Showing
1 changed file
with
8 additions
and
1 deletions
Show diff stats
database/db_utils.anubis
| ... | ... | @@ -294,7 +294,14 @@ public define SQLite3Bind |
| 294 | 294 | )= |
| 295 | 295 | bind_Int(name, to_DBInt(value)). |
| 296 | 296 | |
| 297 | - | |
| 297 | +public define SQLite3Bind | |
| 298 | + bind_BLOB | |
| 299 | + ( | |
| 300 | + String name, | |
| 301 | + $V value | |
| 302 | + )= | |
| 303 | + bind_ByteArray(name, serialize(value)). | |
| 304 | + | |
| 298 | 305 | // -- Migration HELPERS --------------- |
| 299 | 306 | |
| 300 | 307 | public define DbBind | ... | ... |