1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
#!/usr/bin/env lua
return {
connect = {
name = 'sqlite3-test'
},
encoding_test = {
['::int'] = 12435212,
['::int'] = 463769,
['::int'] = 8574678,
['::int'] = -12435212,
['::int'] = 0,
['::int'] = 9998212,
['::int'] = 2839159864, -- bigger than 2^31-1, aka too big for 32 bit signed
['::float'] = 0.00,
['::float'] = -7653.25,
['::float'] = 1636.94783,
['::decimal'] = 35.34,
['::decimal'] = -3.00,
['::decimal'] = 35848535.24,
['::decimal'] = 0.00,
['::varchar'] = "string 1",
['::varchar'] = "another_string",
['::text'] = "really long string with some escapable chars: #&*%#;@'"
},
placeholder = '$1',
have_last_insert_id = true,
have_typecasts = true,
have_booleans = false,
have_rowcount = false
}
|