mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
added a test to cover the keyword replace as being synonymous with insert (#2261)
This commit is contained in:
parent
b32c33c992
commit
e1b704d4ea
1 changed files with 9 additions and 0 deletions
|
|
@ -375,6 +375,15 @@ var insertTest = tableTest{
|
|||
expRows: rows(),
|
||||
compare: compareExactUnordered,
|
||||
},
|
||||
{
|
||||
// Replace
|
||||
sqls: sqls(
|
||||
"replace into testinsert (_id, a, b, s, bl, d, event, ievent) values (4, 40, 400, 'foo', false, 10.12, ['A', 'B', 'C'], [1, 2, 3])",
|
||||
),
|
||||
expHdrs: hdrs(),
|
||||
expRows: rows(),
|
||||
compare: compareExactUnordered,
|
||||
},
|
||||
{
|
||||
// Insert with nulls
|
||||
sqls: sqls(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue