@ultipa-graph/ultipa-driver
Version:
NodeJS SDK for ultipa-server 5.2
33 lines (32 loc) • 1.06 kB
TypeScript
import { PROPERTY_TYPE } from "./commont";
export declare namespace NullUtils {
function uint8ArrayEqual(buf1: Uint8Array, buf2: Uint8Array): boolean;
const AllNullValueUint8Array: {
int32: Uint8Array;
datetime: Uint8Array;
uint32: Uint8Array;
int64: Uint8Array;
timestamp: Uint8Array;
uint64: Uint8Array;
float: Uint8Array;
double: Uint8Array;
decimal: Uint8Array;
string: Uint8Array;
bool: Uint8Array;
blob: Uint8Array;
point: Uint8Array;
text: Uint8Array;
list: Uint8Array;
map: Uint8Array;
set: Uint8Array;
local_datetime: Uint8Array;
zoned_datetime: Uint8Array;
date: Uint8Array;
local_time: Uint8Array;
zoned_time: Uint8Array;
year_to_month: Uint8Array;
day_to_second: Uint8Array;
};
const nullValue: (type: PROPERTY_TYPE) => Uint8Array;
const isNullValueByBytes: (v: Uint8Array, type: PROPERTY_TYPE) => boolean;
}