[][src]Trait unqlite::document::Jx9

pub trait Jx9 {
    fn compile<T: AsRef<[u8]>>(&self, jx9: T) -> Result<UnQLiteVm>;
fn compile_file<P: AsRef<str>>(&self, filename: P) -> Result<UnQLiteVm>; }

Jx9 script compiler Interface.

The Document store interface to UnQLite which is used to store JSON docs (i.e. Objects, Arrays, Strings, etc.) in the database is powered by the Jx9 programming language.

Required methods

fn compile<T: AsRef<[u8]>>(&self, jx9: T) -> Result<UnQLiteVm>

Compile a Jx9 script to a bytecode program.

fn compile_file<P: AsRef<str>>(&self, filename: P) -> Result<UnQLiteVm>

Compile a Jx9 script file to a bytecode program.

Loading content...

Implementors

impl Jx9 for UnQLite[src]

Jx9 script compiler Interface.

fn compile<T: AsRef<[u8]>>(&self, jx9: T) -> Result<UnQLiteVm>[src]

Compile a Jx9 script to a bytecode program.

fn compile_file<P: AsRef<str>>(&self, filename: P) -> Result<UnQLiteVm>[src]

Compile a Jx9 script file to a bytecode program.

Loading content...