OCLOperators sqlpassthrough
No edit summary
No edit summary
Line 1: Line 1:
The sqlPassThorugh is described here [[PSExpression , or how to do things in the DB from MDriven]]
The sqlPassThorugh is described here [[PSExpression , or how to do things in the DB from MDriven]]


=== Example of using the sqlpassthroughobjects ===
Also look here [[OCLOperators sqlpassthroughobjects]]
The two examples below can be used in a derived association
 
===== If you already have the primary key available to can to like this =====
Kundfaktura.sqlpassthroughobjects('select ' + self.FakturaReferensnummer.toString )->first
 
===== If looking for a specific object using some field =====
Kundfaktura.sqlpassthroughobjects('select FAKTURA_ID from tbl_FAKTUROR where FAKTURA_ID = ' + self.FakturaReferensnummer.toString )->first

Revision as of 10:20, 2 April 2018

This page was edited 94 days ago on 02/10/2024. What links here