mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
* stub out a test framework for fbsql * Introduce fbsql integration test framework. This also adds support for `pset location` to set the geo location (i.e. time zone) in which timestamps should be displayed. And it adds support for comments (lines starting with `--`) in the line reader/splitter. * Replace Stdin and Stderr with setters and un-export them
12 lines
335 B
SQL
12 lines
335 B
SQL
-- Create a table.
|
|
create table people (_id id, name string, age int);
|
|
|
|
-- Insert some values.
|
|
insert into people values (1, 'Amy', 42), (2, 'Bob', 27), (3, 'Carl', 33);
|
|
|
|
-- Get all rows from the table.
|
|
select * from people;
|
|
|
|
-- Mix in a meta-command to show that both are supported
|
|
-- in the include file.
|
|
\echo mix in a meta command
|