Updates
This commit is contained in:
@@ -27,6 +27,7 @@ export default async function dsqlCrud<
|
||||
deleteKeyValues,
|
||||
debug,
|
||||
tableSchema,
|
||||
deleteKeyValuesOperator,
|
||||
} = params;
|
||||
|
||||
const finalData = (sanitize ? sanitize({ data }) : data) as T;
|
||||
@@ -77,6 +78,7 @@ export default async function dsqlCrud<
|
||||
tableName: table,
|
||||
dbFullName,
|
||||
deleteKeyValues,
|
||||
deleteKeyValuesOperator,
|
||||
});
|
||||
|
||||
const res = (await connDbHandler(
|
||||
|
||||
@@ -15,6 +15,10 @@ export default function dataTypeConstructor(
|
||||
return (finalType += `(${limit || 250})`);
|
||||
}
|
||||
|
||||
if (finalType == "VECTOR") {
|
||||
return (finalType += `(${limit || 120})`);
|
||||
}
|
||||
|
||||
if (
|
||||
finalType == "DECIMAL" ||
|
||||
finalType == "FLOAT" ||
|
||||
|
||||
@@ -42,7 +42,7 @@ export default function grabHostNames(param?: Param): GrabHostNamesReturn {
|
||||
: undefined;
|
||||
|
||||
return {
|
||||
host: remoteHost || localHost || "datasquirel.com",
|
||||
host: remoteHost || localHost || "www.datasquirel.com",
|
||||
port: remoteHostPort || localHostPort || 443,
|
||||
scheme: scheme?.match(/^http$/i) ? http : https,
|
||||
user_id: param?.userId || String(finalEnv["DSQL_API_USER_ID"] || 0),
|
||||
|
||||
@@ -2,10 +2,10 @@ export default function grabDSQLRemoteURLs() {
|
||||
const communityTarballURL =
|
||||
"https://static.datasquirel.com/images/user-images/user-2/dsql/distro/dsql-community.tar.xz";
|
||||
const communityTarballShortURL =
|
||||
"https://datasquirel.com/api/media/dsql-community";
|
||||
"https://www.datasquirel.com/api/media/dsql-community";
|
||||
|
||||
const installScriptURL = "https://datasquirel.com/api/media/install";
|
||||
const updateScriptURL = "https://datasquirel.com/api/media/update";
|
||||
const installScriptURL = "https://www.datasquirel.com/api/media/install";
|
||||
const updateScriptURL = "https://www.datasquirel.com/api/media/update";
|
||||
|
||||
return {
|
||||
communityTarballURL,
|
||||
|
||||
Reference in New Issue
Block a user