LargeObject class
A large object wrapper
Constructors
- LargeObject(LibPq psql)
Properties
Methods
-
close(
) → void - Closes a large object
-
create(
) → int - Create a new large object and returns the object id
-
delete(
int oid) → void - Deletes a large object
-
export(
int oid, String filename, {Allocator allocator = malloc}) → void - Exports a large object to a local file
-
import(
int oid, String filename, {Allocator allocator = malloc}) → int - Imports a local file into a large object and returns its id
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
int id) → void - Opens a large object for reading/writing
-
read(
Uint8List data, int length, {Allocator allocator = malloc}) → int - Reads data from the large object
-
size(
) → int - Returns the length of a large object
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List data, int length, {Allocator allocator = malloc}) → int - Write data to the large object
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited