-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing methods #36
Comments
Hey, I'm unsure if this will help, but I switched to surrealdb.js, and everything is there (I think). |
Unfortunately I need the embedded RocksDB support for my project. |
I am missing the close function as well, only v0.3.0 on npm atm. /* tslint:disable */
/* eslint-disable */
/* auto-generated by NAPI-RS */
export class Surreal {
constructor()
connect(endpoint: string, opts?: any | undefined | null): Promise<void>
use(value: any): Promise<void>
set(key: string, value: any): Promise<void>
unset(key: string): Promise<void>
signup(credentials: any): Promise<any>
signin(credentials: any): Promise<any>
invalidate(): Promise<void>
authenticate(token: string): Promise<void>
query(sql: string, bindings?: any | undefined | null): Promise<any>
select(resource: string): Promise<any>
create(resource: string, data?: any | undefined | null): Promise<any>
update(resource: string, data?: any | undefined | null): Promise<any>
merge(resource: string, data: any): Promise<any>
patch(resource: string, data: any): Promise<any>
delete(resource: string): Promise<any>
version(): Promise<any>
health(): Promise<void>
} |
Hello, is there any status for the missing functions? I am particulary interested in |
It would be nice to have interface consistency between the different libraries. |
It seems that there is a diff between the online documentation (https://docs.surrealdb.com/docs/integration/sdks/nodejs) and the actual implemented methods.
Website:
Source (from
src/lib.rs
andindex.d.ts
):Diff (red for missing methods, green for extra ones):
Which version is right?
The text was updated successfully, but these errors were encountered: