mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
Rename OwnedValue -> Value
We have not had enough merge conflicts for a while so let's do a tree-wide rename.
This commit is contained in:
parent
d3e7dd2224
commit
e3f71259d8
36 changed files with 2440 additions and 2808 deletions
|
@ -30,7 +30,7 @@ fn test_last_insert_rowid_basic() -> anyhow::Result<()> {
|
|||
match rows.step()? {
|
||||
StepResult::Row => {
|
||||
let row = rows.row().unwrap();
|
||||
if let limbo_core::OwnedValue::Integer(id) = row.get_value(0) {
|
||||
if let limbo_core::Value::Integer(id) = row.get_value(0) {
|
||||
assert_eq!(*id, 1, "First insert should have rowid 1");
|
||||
}
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ fn test_last_insert_rowid_basic() -> anyhow::Result<()> {
|
|||
match rows.step()? {
|
||||
StepResult::Row => {
|
||||
let row = rows.row().unwrap();
|
||||
if let limbo_core::OwnedValue::Integer(id) = row.get_value(0) {
|
||||
if let limbo_core::Value::Integer(id) = row.get_value(0) {
|
||||
last_id = *id;
|
||||
}
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ fn test_integer_primary_key() -> anyhow::Result<()> {
|
|||
match select_query.step()? {
|
||||
StepResult::Row => {
|
||||
let row = select_query.row().unwrap();
|
||||
if let limbo_core::OwnedValue::Integer(id) = row.get_value(0) {
|
||||
if let limbo_core::Value::Integer(id) = row.get_value(0) {
|
||||
rowids.push(*id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue