I am new to SQL, are there list or vector variable types? Can I have a column whose type is a list of strings?
Maybe something like:
CREATE TABLE myTbl(domain varchar PRIMARY KEY, linkList list<varchar>);
Can I append a string like so(by using the ‘+=’ operator):
UPDATE myTbl SET linkList += "www.test.com," WHERE domain="blah";
// Table is like so
CREATE TABLE myTbl(domain varchar PRIMARY KEY, linkList varchar);
// Column linkList is a string of links separated by comma's
No, there are no array/list/vector data types in SQLite. The string concatenation operator in SQLite is
||.