37 q.intoTableName =
"foo";
40 q.addValueString(
"val1");
43 q.addValueParameter();
44 sql =
"insert into foo (col1, col2) values ('val1', 123, null, ?)";
48 q.baseTableName =
"bbc"
49 q.addColumn(
null,
"name");
50 q.addColumn(
null,
"region");
53 i.intoTableName =
"foo";
55 i.addColumn(
"region");
57 sql =
"insert into foo (name, region) select name, region from bbc";
60 return Components.results.NS_OK;
65 return Cc[
"@songbirdnest.com/Songbird/SQLBuilder/Insert;1"]
66 .createInstance(
Ci.sbISQLInsertBuilder);
70 return Cc[
"@songbirdnest.com/Songbird/SQLBuilder/Select;1"]
71 .createInstance(
Ci.sbISQLSelectBuilder);
function assertEqual(aExpected, aActual, aMessage)
function runTest()
Test file.
_getSelectedPageStyle s i