Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2366

Can we add left join in options?

$
0
0

someone please help me, i use editor with an select type. but i want that just returned spesific value that can be accessed with left join and where caluse
here my sample code

Editor::inst( $this->editorDb, 'perusahaan_bio', 'id' )
            ->fields(
                Field::inst( 'siswa_pkl.idperusahaan' )
                    ->options( 'perusahaan_bio', 'id', 'nama' ),
                Field::inst( 'perusahaan_bio.nama' ),
                Field::inst( 'siswa_pkl.nis' )
                    ->options( 'siswa_bio', 'nis', 'nama' ),
                    ->leftjoin(sometable)
                    ->where(someclause)

Viewing all articles
Browse latest Browse all 2366

Trending Articles