Created
December 12, 2017 23:41
-
-
Save monroy95/81bd48b493fdfaab65449cc27a670c27 to your computer and use it in GitHub Desktop.
Obtener multiples propiedades de un documento.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Retorna a los clientes con nombres empiecen con a | |
customers = frappe.db.get_values('Customer', {'name':('like a%')} | |
# Retorna todo sobre el ultimo acceso de **usuario** 'test@example.com' | |
user = frappe.db.get_values('user', 'test@example.com', '*')[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment